/* Medilogik Contact Tabs widget styles */

.mlk-contact-tabs {
    font-family: inherit;
}

/* ── Tab bar ──────────────────────────────────────────────────── */

.mlk-tab-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #dde4ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(31,54,94,0.07);
    margin-bottom: 2rem;
}

.mlk-tab-btn {
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    border-right: 1px solid #dde4ef;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a6a85;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: background 0.15s, color 0.15s;
}

.mlk-tab-btn:last-child { border-right: none; }

.mlk-tab-btn:not(.active):hover {
    background: #edf2fb;
    color: #1F365E;
}

.mlk-tab-btn.active {
    background: #1F365E;
    color: #fff;
}

.mlk-tab-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #edf2fb;
    color: #407DC9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background 0.15s, color 0.15s;
}

.mlk-tab-btn.active .mlk-tab-icon-wrap {
    background: rgba(8,133,255,0.2);
    color: #0885FF;
}

.mlk-tab-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1F365E;
    display: block;
    line-height: 1.3;
    transition: color 0.15s;
}

.mlk-tab-btn.active .mlk-tab-label { color: #fff; }

.mlk-tab-desc {
    font-size: 0.75rem;
    font-weight: 400;
    color: #5a6a85;
    display: block;
    margin-top: 0.15rem;
    transition: color 0.15s;
}

.mlk-tab-btn.active .mlk-tab-desc { color: rgba(255,255,255,0.6); }

/* ── Form slot: neutralise Elementor container wrapper ─────── */

.mlk-form-slot > .elementor-element {
    padding: 0 !important;
}

/* ── Panels ───────────────────────────────────────────────────── */

.mlk-tab-panel { display: none; }
.mlk-tab-panel.active { display: block; }

.mlk-panel-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

/* ── Form card ────────────────────────────────────────────────── */

.mlk-form-card {
    background: #fff;
    border: 1px solid #dde4ef;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(31,54,94,0.06);
}

.mlk-form-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F365E;
    margin: 0 0 0.35rem;
    font-family: inherit;
}

.mlk-form-intro {
    font-size: 0.85rem;
    color: #5a6a85;
    margin: 0 0 1.75rem;
    font-family: inherit;
}

.mlk-shortcode-placeholder {
    font-size: 0.85rem;
    color: #5a6a85;
    font-style: italic;
    padding: 1.5rem;
    border: 2px dashed #dde4ef;
    border-radius: 6px;
    text-align: center;
}

/* ── Portal block ─────────────────────────────────────────────── */

.mlk-portal-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(8,133,255,0.05);
    border: 1px solid rgba(8,133,255,0.18);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.mlk-portal-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(8,133,255,0.1);
    color: #0885FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlk-portal-note {
    font-size: 0.85rem;
    color: #1F365E;
    margin: 0 0 0.5rem;
    font-family: inherit;
    line-height: 1.5;
}

.mlk-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0885FF;
    text-decoration: none;
    font-family: inherit;
}

.mlk-portal-link:hover { text-decoration: underline; }

.mlk-form-divider {
    font-size: 0.8rem;
    color: #5a6a85;
    margin: 0 0 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #dde4ef;
    font-family: inherit;
}

/* ── Sidebar ──────────────────────────────────────────────────── */

.mlk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mlk-info-card {
    background: #fff;
    border: 1px solid #dde4ef;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(31,54,94,0.06);
}

.mlk-sidebar-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0885FF;
    margin: 0 0 1rem;
    font-family: inherit;
}

.mlk-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mlk-contact-item:last-child { margin-bottom: 0; }

.mlk-reg-row {
    padding-top: 0.875rem;
    margin-top: 0.25rem;
    border-top: 1px solid #dde4ef;
}

.mlk-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #edf2fb;
    color: #407DC9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlk-contact-item-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: #5a6a85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.1rem;
    font-family: inherit;
}

.mlk-contact-item-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F365E;
    display: block;
    font-family: inherit;
}

.mlk-contact-item-value a {
    color: #1F365E;
    text-decoration: none;
}

.mlk-contact-item-value a:hover { color: #0885FF; }

/* Person card */

.mlk-person-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid #dde4ef;
    margin-top: 1rem;
}

.mlk-person-card--divider {
    padding-top: 0.875rem;
    margin-top: 0.875rem;
}

.mlk-person-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.mlk-person-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1F365E;
    display: block;
    font-family: inherit;
}

.mlk-person-role {
    font-size: 0.75rem;
    color: #5a6a85;
    display: block;
    font-family: inherit;
}

/* Routing note */

.mlk-routing-note {
    background: rgba(8,133,255,0.06);
    border: 1px solid rgba(8,133,255,0.2);
    border-radius: 8px;
    padding: 1rem 1.125rem;
    font-size: 0.82rem;
    color: #1F365E;
    line-height: 1.55;
    font-family: inherit;
}

/* ── Follow us card ─────────────────────────────────────────── */

.mlk-follow-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mlk-follow-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6a85;
}

.mlk-follow-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mlk-follow-link {
    color: #5a6a85;
    transition: color 0.15s;
    display: flex;
}
.mlk-follow-link:hover { color: #1F365E; }

/* ── Support panel — full-width layout ─────────────────────── */

.mlk-support-hero {
    background: linear-gradient(135deg, rgba(8,133,255,0.04) 0%, #fff 55%);
    border: 1px solid rgba(8,133,255,0.2);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    gap: 1.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mlk-support-hero-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(8,133,255,0.1);
    color: #0885FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlk-support-hero-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F365E;
    margin: 0 0 0.5rem;
    font-family: inherit;
}

.mlk-support-hero-intro {
    font-size: 0.875rem;
    color: #5a6a85;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    font-family: inherit;
}

.mlk-btn-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65em 1.5em;
    background: #0885FF;
    border-radius: 2em;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

/* Two-class specificity (0,2,0) beats .elementor-kit-7 a (0,1,1) */
.mlk-contact-tabs .mlk-btn-portal,
.mlk-contact-tabs .mlk-btn-portal:hover,
.mlk-contact-tabs .mlk-btn-portal:focus,
.mlk-contact-tabs .mlk-btn-portal:visited,
.mlk-contact-tabs .mlk-btn-portal:active {
    color: #ffffff;
    text-decoration: none;
}

.mlk-contact-tabs .mlk-btn-portal:hover { background: #407DC9; }

.mlk-support-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
}

.mlk-support-big-link {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1F365E;
    text-decoration: none;
    margin-bottom: 1rem;
    font-family: inherit;
}
.mlk-support-big-link:hover { color: #0885FF; }

.mlk-hours-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mlk-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #1a1a2e;
    font-family: inherit;
}
.mlk-hours-row span:first-child { color: #5a6a85; font-weight: 500; }

.mlk-hours-note {
    font-size: 0.75rem;
    color: #5a6a85;
    margin-top: 0.75rem;
    font-family: inherit;
}

.mlk-support-card-note {
    font-size: 0.82rem;
    color: #5a6a85;
    line-height: 1.55;
    margin-top: 0.75rem;
    font-family: inherit;
}

@media (max-width: 767px) {
    .mlk-support-hero { flex-direction: column; padding: 1.5rem; }
    .mlk-support-cols { grid-template-columns: 1fr; }
}

/* Support strip */

.mlk-support-strip {
    background: #1F365E;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.mlk-strip-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 0.2rem;
    font-family: inherit;
}

.mlk-strip-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
}

.mlk-strip-value:hover { color: #93C4FF; }

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 767px) {
    .mlk-panel-grid {
        grid-template-columns: 1fr;
    }
    .mlk-tab-btn {
        padding: 1rem;
    }
    .mlk-tab-desc {
        display: none;
    }
}
