* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #222;
    -webkit-tap-highlight-color: rgba(35, 56, 77, 0.12);
}

.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.form-card {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 14px;
    padding: 35px 30px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

body.uye-portal-body {
    background: #eef2f7;
}

body.uye-portal-body .wrapper.uye-portal-wrapper {
    min-height: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 22px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left));
    width: 100%;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    box-sizing: border-box;
}

body.uye-portal-body .uye-portal-page-card {
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

body.uye-portal-body .uye-rehber-page-card {
    max-width: 960px;
}

/* Üye ana sayfa (oturum açık): kart ve metin tam genişlikte */
body.uye-portal-body .uye-portal-page-card.index-uye-portal-card {
    max-width: min(960px, 100%);
    width: 100%;
}

.index-uye-portal-head {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.index-uye-page-title {
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.uye-portal-body .uye-ref-uyeler-page-card {
    max-width: min(680px, 100%);
    width: 100%;
}

body.uye-portal-body .uye-ref-uyeler-page-card .uye-portal-page-lead {
    max-width: none;
}

body.uye-portal-body .uye-rehber-page-card .uye-portal-page-lead {
    max-width: none;
}

.uye-portal-page-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ecf1;
}

.uye-portal-page-title {
    text-align: left;
    font-size: clamp(1.35rem, 4vw, 1.6rem);
    margin: 0 0 8px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.uye-portal-page-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    max-width: 52ch;
}

/* Üye ana sayfa (index oturum açık): tam genişlik; sola hizalı (kısa satırlarda iki yana yaslama boşluk açmasın) */
.uye-portal-page-lead.index-uye-oturum-lead {
    display: block;
    max-width: none !important;
    width: 100%;
    box-sizing: border-box;
    text-align: start;
}

.logo-area {
    text-align: center;
    margin-bottom: 18px;
}

.logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: inline-block;
}

h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #1f2d3d;
}

.portal-tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0 2px;
    border: none;
    background: transparent;
    align-items: stretch;
}

.portal-tab {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: #eef2f7;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    border-radius: 14px 14px 0 0;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    min-width: 0;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.portal-tab:hover {
    background: #e2e8f0;
    color: #334155;
}

.portal-tab-active {
    background: #1a365d;
    color: #f8fafc;
    border-color: #1a365d;
    border-bottom-color: #1a365d;
    box-shadow: 0 -2px 0 rgba(26, 54, 93, 0.35) inset;
    font-weight: 700;
}

.portal-tab-active:hover {
    background: #153252;
    color: #fff;
}

.portal-tab-rehber-vurgu {
    box-shadow: 0 0 0 2px rgba(192, 86, 33, 0.45);
}

.portal-giris-bilgi-paragraf {
    margin: 0 0 12px;
    line-height: 1.55;
}

.portal-giris-bilgi-paragraf:last-child {
    margin-bottom: 0;
}

.portal-giris-bilgi-aksiyon {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 8px;
}

.portal-giris-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    padding-left: 22px;
    padding-right: 22px;
}

.portal-giris-btn--ikincil {
    background: #fff;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.portal-giris-btn--ikincil:hover {
    background: #f1f5f9;
    color: #153252;
}

.portal-giris-form {
    margin-top: 8px;
}

.portal-giris-rehber-uyari {
    margin-bottom: 14px;
}

@media (max-width: 520px) {
    .portal-tabs {
        gap: 5px;
        padding: 0;
    }

    .portal-tab {
        padding: 10px 5px;
        font-size: 11px;
        line-height: 1.15;
        border-radius: 12px 12px 0 0;
    }
}

.portal-panel {
    margin-bottom: 0;
}

.portal-guncelle-bilgi-paragraf {
    margin: 0 0 12px;
    line-height: 1.55;
}

.portal-guncelle-bilgi-paragraf:last-child {
    margin-bottom: 0;
}

.portal-guncelle-telefon-uyari {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(11, 79, 122, 0.2);
}

.form-field-hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #5a6c7d;
}

.form-field-hint-tc strong {
    color: #3d4f5f;
}

.birim-whatsapp-uyari {
    margin-top: 16px;
    margin-bottom: 0;
}

.birim-whatsapp-uyari a {
    color: #1d6b3a;
    font-weight: 600;
    white-space: nowrap;
}

.index-uye-amac-bilgi {
    margin-bottom: 22px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.index-uye-amac-paragraf {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
}

.index-uye-amac-paragraf:last-child,
.index-uye-amac-paragraf--son {
    margin-bottom: 0;
}

/* Üye ana sayfa — kısayol düğmeleri yan yana eşit sütun */
.index-uye-ozet-aksiyon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 8px;
    width: 100%;
    box-sizing: border-box;
}

.index-uye-ozet-aksiyon .portal-giris-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
    width: 100%;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 900px) {
    .index-uye-ozet-aksiyon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .index-uye-ozet-aksiyon {
        grid-template-columns: 1fr;
    }
}

.form-opsiyonel-etiket {
    font-weight: 500;
    font-size: 0.92em;
    color: #64748b;
}

.alert-sms-dikkat-tc {
    padding-top: 4px;
    border-top: 1px dashed rgba(92, 55, 0, 0.35);
    margin-top: 12px;
    padding-top: 14px;
}

.uye-profil-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.uye-profil-ust h1 {
    margin-bottom: 0;
    text-align: left;
}

.uye-profil-ust-linkler {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 14px;
}

.uye-profil-ust-linkler a {
    color: #2b6cb0;
    font-weight: 600;
}

.uye-profil-cep-uyari {
    margin-bottom: 18px;
}

.input-readonly {
    background: #f0f4f8;
    color: #4a5568;
    cursor: not-allowed;
}

.uye-giris-kod-bilgi {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #4a5568;
}

.uye-rehber-aciklama {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #4a5568;
}

.uye-rehber-arama-form {
    margin-bottom: 20px;
}

.uye-rehber-filtre-grid {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .uye-rehber-filtre-grid {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .uye-rehber-tasra-alt-wrap {
        grid-column: 1 / -1;
    }
}

/* Birim adı + genel arama: geniş ekranda yan yana (tek satır) */
.uye-rehber-birim-genel-wrap {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: 1fr;
}

.uye-rehber-birim-genel-wrap .form-group .uye-rehber-input,
.uye-rehber-birim-genel-wrap .form-group .uye-rehber-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .uye-rehber-filtre-grid > .uye-rehber-birim-genel-wrap {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .uye-rehber-birim-genel-wrap {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.uye-rehber-tasra-alt-grid {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .uye-rehber-tasra-alt-grid {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.uye-rehber-tasra-alt-cell {
    margin: 0;
}

.uye-rehber-tasra-alt-ipucu {
    margin: 8px 0 0;
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.45;
}

.uye-rehber-istege-bagli {
    font-weight: normal;
    color: #6b7c8c;
    font-size: 0.92em;
}

.uye-rehber-filtre-grid > .form-group .uye-rehber-input,
.uye-rehber-filtre-grid > .form-group .uye-rehber-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.uye-rehber-filtre-grid > .form-group .uye-rehber-input {
    flex: none;
}

.uye-rehber-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

.uye-rehber-il-yok-metin {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.45;
}

.uye-rehber-arama-satir .uye-rehber-arama-icerik,
.uye-rehber-genel-grup .uye-rehber-arama-icerik,
.uye-rehber-arama-icerik {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.uye-rehber-input {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font-size: 15px;
}

/* Yatay satırda (input + Ara) esnek genişlik; dikey form-group’ta flex-grow yok — birim alanı şişmesin */
.uye-rehber-arama-icerik .uye-rehber-input {
    flex: 1 1 200px;
}

.uye-rehber-birim-genel-wrap > .form-group:not(.uye-rehber-genel-grup) .uye-rehber-input {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 100%;
}

.uye-rehber-ara-btn {
    flex: 0 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

@media (min-width: 480px) {
    .uye-rehber-genel-grup .uye-rehber-arama-icerik {
        gap: 18px;
    }
}

.uye-rehber-ozet {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
}

.uye-ref-uyeler-ozet {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
}

/* Referansımla üye olanlar — tek satırda 4 sütun (masaüstü); kart genişliği diğer üye sayfalarıyla aynı (680px) */
.uye-ref-uyeler-liste .uye-rehber-kart {
    padding: 14px 16px;
}

.uye-ref-uyeler-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 10px 14px;
    align-items: start;
    width: 100%;
}

@media (max-width: 720px) {
    .uye-ref-uyeler-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .uye-ref-uyeler-row {
        grid-template-columns: 1fr;
    }
}

.uye-rehber-liste-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.uye-rehber-kart {
    max-width: 960px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fafbfc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Rehber: her satır ayrı kutu (subgrid); mobilde kart */
.uye-rehber-liste-wrap--tablo {
    gap: 12px;
}

@media (max-width: 767px) {
    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir--baslik {
        display: none;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir.uye-rehber-kart {
        display: flex;
        flex-direction: column;
        gap: 8px;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        padding: 14px 16px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
        max-width: none;
    }

    /* Etiket sol, değer sağ — aynı satırda (Ad soyad | Ali Veli) */
    .uye-rehber-liste-wrap--tablo .uye-rehber-td {
        display: grid;
        grid-template-columns: minmax(5.5rem, 34%) minmax(0, 1fr);
        gap: 10px 14px;
        align-items: start;
        min-width: 0;
        padding-bottom: 8px;
        margin-bottom: 2px;
        border-bottom: 1px solid #e2e8f0;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir .uye-rehber-td:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding-top: 2px;
        line-height: 1.35;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-td .uye-rehber-deger {
        font-size: 11px;
        line-height: 1.35;
        color: #0f172a;
        font-weight: 600;
        min-width: 0;
        word-break: break-word;
    }
}

@media (min-width: 768px) {
    .uye-rehber-liste-wrap--tablo {
        display: grid;
        grid-template-columns:
            minmax(9.5rem, 1.15fr)
            minmax(8rem, 1fr)
            minmax(11rem, 1.65fr)
            minmax(6.5rem, 0.9fr)
            minmax(10rem, 1.15fr);
        row-gap: 10px;
        column-gap: 0;
        align-content: start;
        margin-bottom: 16px;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir {
        max-width: none;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: subgrid;
        border: 1px solid #94a3b8;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir--baslik {
        border-color: #64748b;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir--baslik .uye-rehber-th {
        padding: 10px 12px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: #f8fafc;
        background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir--baslik .uye-rehber-th:last-child {
        border-right: none;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir .uye-rehber-td {
        padding: 9px 12px;
        font-size: 14px;
        line-height: 1.45;
        color: #020617;
        min-width: 0;
        word-break: break-word;
        border-right: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        min-height: 2.5rem;
        box-sizing: border-box;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir .uye-rehber-td .uye-rehber-deger {
        color: #020617;
        font-weight: 600;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir .uye-rehber-td:last-child {
        border-right: none;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        min-width: 10rem;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir:nth-of-type(odd) {
        background: #ffffff;
    }

    .uye-rehber-liste-wrap--tablo article.uye-rehber-tablo-satir:nth-of-type(even) {
        background: #f1f5f9;
    }
}

@media (max-width: 519px) {
    .uye-rehber-liste-wrap--tablo {
        gap: 0;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir.uye-rehber-kart {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir.uye-rehber-kart:not(:last-child) {
        border-bottom: 2px solid #cbd5e1;
    }

    .uye-rehber-liste-wrap--tablo .uye-rehber-tablo-satir.uye-rehber-kart:first-of-type {
        border-top: 1px solid #e2e8f0;
    }
}

.uye-rehber-deger--yok {
    color: #334155;
    font-weight: 500;
    font-style: italic;
}

.uye-rehber-liste-wrap--tablo .uye-rehber-deger--yok {
    color: #475569;
}

.uye-rehber-alan {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.uye-rehber-etiket {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uye-rehber-deger {
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
    word-break: break-word;
    font-weight: 500;
}

/* Üye rehber sayfalama: ortak .pagination-nav kullanılıyor */

.alert {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.alert.success {
    background: #e8f8ee;
    color: #1f7a3d;
    border: 1px solid #bfe8cc;
}

.alert.error {
    background: #fdecec;
    color: #a32121;
    border: 1px solid #f5bcbc;
}

.alert.warning {
    background: #fff8e6;
    color: #7c4a00;
    border: 1px solid #f0d090;
}

.alert.info {
    background: #e8f4fd;
    color: #0b4f7a;
    border: 1px solid #b6d9f0;
}

.alert-sms-dikkat {
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    color: #7c4a00;
    border: 2px solid #f0b429;
    box-shadow: 0 4px 14px rgba(240, 180, 41, 0.2);
    padding: 18px 18px 16px;
}

.alert-sms-dikkat-baslik {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #5c3700;
}

.alert-sms-dikkat-metin,
.alert-sms-dikkat-alt,
.alert-sms-dikkat-uyari {
    margin: 0 0 12px;
    line-height: 1.55;
}

.alert-sms-dikkat-alt {
    margin-bottom: 14px;
}

.alert-sms-dikkat-aksiyon {
    margin: 0;
}

.btn-sms-dogrula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #c05621, #9c4221);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(156, 66, 33, 0.35);
}

.btn-sms-dogrula:hover {
    opacity: 0.95;
    color: #fff !important;
}

.personel-dogrulama-aciklama {
    text-align: center;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.personel-dogrulama-sayac {
    text-align: center;
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 8px;
}

.personel-dogrulama-suresi-doldu {
    color: #c53030;
    font-weight: 600;
}

.personel-dogrulama-geri {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.personel-dogrulama-geri a {
    color: #2b6cb0;
}

.input-dogrulama-kodu {
    font-size: 1.35rem;
    text-align: center;
    letter-spacing: 0.25em;
    font-variant-numeric: tabular-nums;
}

.badge-cep-onayli {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #e8f8ee;
    color: #1f7a3d;
}

.badge-cep-onaysiz {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #fff8e6;
    color: #9a6700;
}

.kayit-kart-adsoyad {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.kayit-adsoyad-metin {
    flex: 1;
    min-width: 0;
}

.kayit-cep-durum {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.kayit-cep-durum--onay {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.kayit-cep-durum--red {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.alert-dogrulama-tamam-uyari {
    margin-top: 16px;
    background: linear-gradient(135deg, #fff4e6 0%, #ffedd5 100%);
    color: #7c2d12;
    border: 2px solid #fb923c;
    padding: 16px 18px;
    border-radius: 10px;
    line-height: 1.55;
}

.alert-dogrulama-tamam-baslik {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
    color: #9a3412;
}

.alert-dogrulama-tamam-metin {
    margin: 0;
    font-size: 14px;
}

.personel-dogrulama-sure-bilgi {
    text-align: center;
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 12px;
    line-height: 1.45;
}

.form-area {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2b3a4a;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #476582;
}

.form-group-checkbox {
    gap: 0;
}

.form-group-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    font-weight: 600;
    color: #2b3a4a;
    cursor: pointer;
    line-height: 1.45;
}

.form-group-checkbox .checkbox-label input[type="checkbox"] {
    width: auto;
    min-height: auto;
    height: auto;
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #23384d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    touch-action: manipulation;
}

.btn-submit:hover {
    background: #1a2c3d;
    color: #fff;
}

/* btn-submit ile aynı özgüllükte :hover birleşince yalnızca arka plan değişir; ikincil düğmede koyu yazı kalıp kayboluyordu */
.btn-submit.portal-giris-btn--ikincil:hover,
.btn-submit.portal-giris-btn--ikincil:focus-visible {
    background: #f1f5f9;
    color: #153252;
}

@media (max-width: 768px) {
    .form-card {
        padding: 25px 18px;
    }

    h1 {
        font-size: 24px;
    }

    .wrapper {
        padding: 16px 12px;
        align-items: stretch;
    }
}


.admin-wrapper {
    align-items: flex-start;
}

.list-card {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
    border: 1px solid #eef1f5;
}

.page-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-top h1 {
    margin-bottom: 0;
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.btn-back,
.btn-edit {
    display: inline-block;
    text-decoration: none;
    background: #23384d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-back:hover,
.btn-edit:hover {
    background: #1a2c3d;
}

.search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: stretch;
}

.search-form-input {
    flex: 1 1 200px;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.search-form-submit {
    flex: 0 0 auto;
    min-width: 100px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— Liste: kompakt filtre şeridi (geniş ekranda dev kutu yok) —— */
.filter-toolbar {
    display: grid;
    grid-template-columns: minmax(140px, 190px) minmax(200px, 360px) auto;
    gap: 12px 16px;
    align-items: end;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.filter-toolbar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.filter-toolbar-search {
    max-width: 360px;
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.filter-select,
.filter-search-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    outline: none;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-select:focus,
.filter-search-input:focus {
    border-color: #3b5a7a;
    box-shadow: 0 0 0 3px rgba(59, 90, 122, 0.15);
}

.filter-toolbar-actions {
    display: flex;
    align-items: flex-end;
    padding-bottom: 1px;
}

.btn-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #2a4a66 0%, #23384d 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 2px 6px rgba(35, 56, 77, 0.25);
    touch-action: manipulation;
    white-space: nowrap;
}

.btn-filter-submit:hover {
    box-shadow: 0 4px 12px rgba(35, 56, 77, 0.3);
}

.btn-filter-submit:active {
    transform: translateY(1px);
}

.liste-ozet {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Ortak sayfalama (kayıt listesi, rehber, referans raporu) */
.pagination-nav {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef2f6;
}

.pagination-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    row-gap: 12px;
}

.pagination-nav__edge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #eef2f6;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
    text-align: center;
}

a.pagination-nav__edge:hover {
    background: #dfe6ee;
    color: #0f172a;
}

.pagination-nav__edge--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 500;
    cursor: not-allowed;
}

.pagination-nav__nums {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

.pagination-nav__nums li {
    margin: 0;
    padding: 0;
}

.pagination-nav__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef2f6;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
}

a.pagination-nav__num:hover {
    background: #dfe6ee;
    color: #0f172a;
}

.pagination-nav__num--current {
    background: #0f172a;
    color: #f8fafc;
    font-weight: 800;
    cursor: default;
}

/* Kayıt listesi — kartlar (tablo yok) */
.kayit-listesi {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kayit-kart {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease;
}

.kayit-kart:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.kayit-kart-baslik {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #f8fafc 0%, #fff 40%);
    border-left: 4px solid #23384d;
    border-bottom: 1px solid #f0f2f5;
}

.kayit-kart-govde {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px 6px;
}

.kayit-alan {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.kayit-alan:last-of-type {
    border-bottom: none;
}

.kayit-alan-tam {
    grid-column: 1 / -1;
}

.kayit-etiket {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}

.kayit-deger {
    font-size: 14px;
    line-height: 1.45;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.kayit-kart-aksiyon {
    padding: 12px 18px 16px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

.kayit-bos {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #64748b;
    padding: 40px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

@media (min-width: 640px) {
    .kayit-kart-govde {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 4px;
    }

    .kayit-alan {
        border-bottom: none;
        padding: 10px 0;
    }

    .kayit-alan-tam {
        grid-column: 1 / -1;
        margin-top: 4px;
        padding-top: 14px;
        border-top: 1px solid #f1f5f9;
    }
}

@media (min-width: 900px) {
    .kayit-kart-govde {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Liste özeti: %30 ünvan | %50 birim | %20 telefon (gap sonrası alan 3:5:2 fr) */
    .kayit-kart-govde-ozet {
        grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr);
        column-gap: 16px 20px;
        align-items: start;
    }

    .kayit-kart-govde-ozet .kayit-alan-ozet-cep {
        justify-self: end;
        text-align: right;
        min-width: 0;
    }

    .kayit-kart-govde-ozet .kayit-alan-ozet-cep .kayit-etiket,
    .kayit-kart-govde-ozet .kayit-alan-ozet-cep .kayit-deger {
        text-align: right;
    }

    .kayit-kart-govde-ozet .kayit-alan-ozet-birim .kayit-deger {
        overflow-wrap: normal;
        word-break: normal;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Tablet: özet tek sütun */
@media (min-width: 640px) and (max-width: 899px) {
    .kayit-kart-govde-ozet {
        grid-template-columns: 1fr;
    }
}

.action-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detay-kutu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.detay-satir {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    background: #fafbfd;
}

.detay-label {
    font-weight: 700;
    color: #223548;
}

.detay-value {
    color: #222;
    line-height: 1.6;
    word-break: break-word;
}

.sil-blok {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.islem-butonalani {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.islem-butonalani .btn-detail,
.islem-butonalani .btn-edit,
.islem-butonalani .btn-form-print,
.islem-butonalani .btn-delete {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    font-size: 13px;
}

.list-card .page-top .btn-back {
    background: #fff;
    color: #23384d;
    border: 2px solid #23384d;
    box-shadow: none;
}

.list-card .page-top .btn-back:hover {
    background: #23384d;
    color: #fff;
}

.inline-form {
    display: inline-block;
    margin: 0;
}

.btn-detail,
.btn-edit,
.btn-form-print,
.btn-back,
.btn-delete {
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-detail {
    background: #3c5a76;
    color: #fff;
}

.btn-detail:hover {
    background: #30485e;
}

.btn-edit {
    background: #23384d;
    color: #fff;
}

.btn-edit:hover {
    background: #1a2c3d;
}

.btn-form-print {
    background: #1a5657;
    color: #fff;
}

.btn-form-print:hover {
    background: #134244;
}

button.btn-form-print {
    font-family: inherit;
}

.btn-back {
    background: #58697a;
    color: #fff;
}

.btn-back:hover {
    background: #465564;
}

.btn-delete {
    background: #b42323;
    color: #fff;
}

.btn-delete:hover {
    background: #8f1b1b;
}

@media (max-width: 768px) {
    .detay-satir {
        grid-template-columns: 1fr;
    }

    .list-card {
        padding: 18px 14px;
        border-radius: 12px;
    }

    .page-top {
        flex-direction: column;
        align-items: stretch;
    }

    .page-top .btn-back {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Detay / Düzenle: üstteki birden fazla buton mobilde alt alta tam genişlik */
    .page-top .action-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .page-top .action-links a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .page-top h1 {
        font-size: 22px;
        text-align: center;
    }

    .sil-blok {
        justify-content: stretch;
    }

    .sil-blok form {
        width: 100%;
    }

    .sil-blok .btn-delete {
        width: 100%;
        min-height: 48px;
        touch-action: manipulation;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form-submit {
        width: 100%;
    }

    .filter-toolbar {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .filter-toolbar-search {
        max-width: none;
    }

    .filter-toolbar-actions {
        padding-bottom: 0;
    }

    .btn-filter-submit {
        width: 100%;
        height: 48px;
    }

    .filter-toolbar-row {
        width: 100%;
    }

    .pagination-nav__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-nav__edge {
        width: 100%;
        max-width: 280px;
        margin-inline: auto;
        font-size: 13px;
        padding: 10px 12px;
    }

    .pagination-nav__nums {
        gap: 5px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .pagination-nav__num {
        min-width: 42px;
        min-height: 42px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .kayit-kart-govde {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kayit-kart-adsoyad {
        font-size: 17px;
    }
}

.hidden {
    display: none;
}

/* —— Birim yönetimi —— */
.birim-yonetim-kart,
.birim-liste-kart {
    max-width: 720px;
}

.birim-yonetim-aciklama {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 20px;
}

.birim-yonetim-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.birim-yonetim-link {
    display: block;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #dfe6ee;
    background: #fafbfd;
    text-decoration: none;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.birim-yonetim-link:hover {
    border-color: #23384d;
    box-shadow: 0 4px 14px rgba(35, 56, 77, 0.08);
}

.birim-yonetim-link-baslik {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.birim-yonetim-link-detay {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.birim-fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 16px 8px;
    margin-bottom: 20px;
}

.birim-fieldset:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.birim-legend {
    padding: 0 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.birim-yardim {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: -4px 0 14px;
}

/* Admin: birim ekle/düzenle — yerleşim hattı radyo kartları */
/* .form-group input { width:100%; min-height:48px } radyoyu şişirip metni sıkıştırıyordu — aşağıda sıfırlanır */
.admin-gib-hatti-radios {
    margin-bottom: 6px;
    width: 100%;
    max-width: 100%;
}

.admin-gib-hatti-radios .admin-gib-hatti-title {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 10px;
}

.admin-gib-hatti-radios.form-group label.admin-gib-hatti-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 0;
    font-weight: 400;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-gib-hatti-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.admin-gib-hatti-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-gib-hatti-card:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.admin-gib-hatti-card:focus-within {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.admin-gib-hatti-card:has(.admin-gib-hatti-input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.admin-gib-hatti-card .admin-gib-hatti-input {
    flex: 0 0 auto;
    width: 1.125rem !important;
    max-width: 1.125rem !important;
    min-width: 1.125rem !important;
    height: 1.125rem !important;
    min-height: 1.125rem !important;
    margin: 0.3rem 0 0 0;
    padding: 0 !important;
    border-radius: 50%;
    accent-color: #2563eb;
    cursor: pointer;
    align-self: flex-start;
}

.admin-gib-hatti-card-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.admin-gib-hatti-card-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-gib-hatti-card--tasra .admin-gib-hatti-card-kicker {
    color: #0f766e;
}

.admin-gib-hatti-card--merkez .admin-gib-hatti-card-kicker {
    color: #6d28d9;
}

.admin-gib-hatti-card--daire .admin-gib-hatti-card-kicker {
    color: #c2410c;
}

.admin-gib-hatti-card-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.3;
}

.admin-gib-hatti-card-desc {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.birim-kok-uyari {
    margin-bottom: 16px;
}

.birim-ara-form {
    margin-bottom: 20px;
}

.birim-bos-mesaj,
.birim-sonuc-sayisi {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.birim-sonuc-listesi {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.birim-sonuc-kart {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
}

.birim-sonuc-baslik {
    font-weight: 700;
    color: #23384d;
    text-decoration: none;
    font-size: 15px;
}

.birim-sonuc-baslik:hover {
    text-decoration: underline;
}

.birim-sonuc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.birim-sonuc-alt {
    align-items: center;
}

.birim-liste-sil-form {
    margin: 0;
    display: inline-flex;
}

.birim-liste-sil-btn {
    font-size: 12px;
    padding: 6px 12px;
    min-height: 34px;
}

.birim-sil-blok {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.birim-agac-alt-link {
    margin: 0.35rem 0 0;
    font-size: 14px;
}

.birim-agac-alt-link a {
    color: #2563eb;
    text-decoration: none;
}

.birim-agac-alt-link a:hover {
    text-decoration: underline;
}

.birim-agac-kurum {
    margin: 0.25rem 0 0;
    font-size: 14px;
    color: #64748b;
}

.birim-agac-yonerge {
    margin: 1rem 0 0.75rem;
    color: #475569;
    font-size: 14px;
}

.birim-agac-kok-listesi {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.birim-agac-kok-kart {
    margin: 0;
}

.birim-agac-kok-kart--bos {
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 14px;
}

.birim-agac-kok-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.birim-agac-kok-link:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.birim-agac-kok-baslik {
    font-weight: 700;
    font-size: 17px;
    color: #0f172a;
}

.birim-agac-kok-alt {
    font-size: 13px;
    color: #64748b;
}

.birim-agac-crumbs {
    margin: 1rem 0 0.5rem;
    font-size: 14px;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.birim-agac-crumbs a {
    color: #2563eb;
    text-decoration: none;
}

.birim-agac-crumbs a:hover {
    text-decoration: underline;
}

.birim-agac-crumb-sep {
    color: #94a3b8;
    user-select: none;
}

.birim-agac-crumb-aktif {
    font-weight: 600;
    color: #0f172a;
}

.birim-agac-alt-baslik {
    margin: 1rem 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.birim-agac-kademe-baslik {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
}

.birim-agac-kademe-baslik:first-of-type {
    margin-top: 0.35rem;
}

.birim-agac-satir-listesi {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.birim-agac-satir {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.birim-agac-satir-ust {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 640px) {
    .birim-agac-satir-ust {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px 16px;
    }
}

.birim-agac-satir-baslik {
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
    text-decoration: none;
}

.birim-agac-satir-baslik:hover {
    text-decoration: underline;
}

.birim-agac-satir-baslik--yaprak {
    color: #0f172a;
}

.birim-agac-satir-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 12px;
    color: #64748b;
}

.birim-agac-satir-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.birim-agac-btn {
    font-size: 13px;
    padding: 6px 12px;
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.birim-agac-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.birim-agac-btn--ekle {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.birim-agac-btn--ekle:hover {
    background: #dbeafe;
    border-color: #60a5fa;
}

.birim-ust-kilit-notice {
    margin: 0 0 1rem;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 14px;
    color: #1e3a8a;
}

.birim-ust-kilit-notice a {
    color: #1d4ed8;
}

/* —— Üye portalı üst menü —— */
.uye-portal-nav {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1500;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.uye-portal-nav-inner {
    max-width: min(1320px, 100%);
    margin: 0 auto;
    padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
    padding-top: max(12px, env(safe-area-inset-top));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

/* Logo + menü tek blok (masaüstünde birlikte ortalanır) */
.uye-portal-nav-cluster {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.uye-portal-nav-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    width: 100%;
}

.uye-portal-nav-head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    min-height: 44px;
}

.uye-portal-nav-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    line-height: 1.15;
    flex-shrink: 0;
}

.uye-portal-nav-brand:hover {
    color: #fff;
}

.uye-portal-nav-brand-mark {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: #f8fafc;
}

.uye-portal-nav-brand-sub {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

/* Ad soyad — listenin ilk öğesi (masaüstünde ortalanmış menüde) */
.uye-portal-nav-item--user {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.uye-portal-nav-user-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.03em;
    line-height: 1.25;
    max-width: min(240px, 38vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 12px 6px 4px;
    margin-right: 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.uye-portal-nav-menu-btn {
    display: none;
    margin-left: auto;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    cursor: pointer;
    line-height: 0;
}

.uye-portal-nav-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.uye-portal-nav-menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 18px;
    vertical-align: middle;
}

.uye-portal-nav-menu-bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.uye-portal-nav-panel {
    display: block;
}

.uye-portal-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
    margin: 0;
    padding: 0;
}

.uye-portal-nav-list li {
    margin: 0;
    padding: 0;
}

.uye-portal-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1.25;
    white-space: nowrap;
}

.uye-portal-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.uye-portal-nav-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.uye-portal-nav-link.is-active:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.uye-portal-nav-link--cikis {
    color: #fca5a5;
}

.uye-portal-nav-link--cikis:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

/* Davet / referans açılır menü */
.uye-portal-nav-item--submenu {
    position: relative;
    list-style: none;
}

.uye-portal-nav-submenu-trigger {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 11px;
    border-radius: 9px;
    line-height: 1.25;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.uye-portal-nav-submenu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.uye-portal-nav-submenu-trigger.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.uye-portal-nav-submenu-trigger:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.uye-portal-nav-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.88;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.uye-portal-nav-item--submenu.is-open .uye-portal-nav-chevron {
    transform: rotate(180deg);
}

.uye-portal-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 6px;
    flex-direction: column;
    gap: 2px;
    min-width: min(280px, calc(100vw - 32px));
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 1600;
}

.uye-portal-nav-submenu[hidden] {
    display: none !important;
}

.uye-portal-nav-sublink {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

@media (min-width: 721px) {
    .uye-portal-nav-item--submenu.is-open .uye-portal-nav-submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 6px;
        display: flex !important;
    }
}

@media (max-width: 720px) {
    .uye-portal-nav-cluster {
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        align-self: stretch;
    }

    .uye-portal-nav-topbar {
        width: 100%;
        max-width: 100%;
        justify-content: stretch;
    }

    .uye-portal-nav-head {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
    }

    .uye-portal-nav-brand {
        flex-shrink: 1;
        min-width: 0;
    }

    .uye-portal-nav-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        flex-shrink: 0;
    }

    .uye-portal-nav-item--user {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 4px;
        padding-bottom: 8px;
    }

    .uye-portal-nav-user-label {
        max-width: none;
        width: 100%;
        padding: 12px 16px 4px;
        margin-right: 0;
        border-right: none;
        font-size: 15px;
        font-weight: 600;
        color: #e2e8f0;
    }

    .uye-portal-nav-panel {
        display: none;
        padding-top: 8px;
    }

    .uye-portal-nav-panel.is-open {
        display: block;
    }

    .uye-portal-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .uye-portal-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        border-radius: 10px;
        white-space: normal;
    }

    .uye-portal-nav-list > li.uye-portal-nav-item--submenu {
        width: 100%;
    }

    .uye-portal-nav-submenu-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 16px;
        min-height: 44px;
        border-radius: 10px;
        white-space: normal;
        text-align: left;
    }

    .uye-portal-nav-item--submenu.is-open .uye-portal-nav-submenu {
        position: static;
        display: flex !important;
        width: 100%;
        min-width: 0;
        margin: 4px 0 8px 0;
        padding: 6px 8px 8px 12px;
        border: none;
        border-left: 3px solid rgba(255, 255, 255, 0.2);
        border-radius: 0 10px 10px 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
    }

    .uye-portal-nav-sublink {
        padding: 10px 12px;
        min-height: 44px;
        align-items: center;
    }

    .uye-portal-nav-menu-btn.is-active .uye-portal-nav-menu-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .uye-portal-nav-menu-btn.is-active .uye-portal-nav-menu-bar:nth-child(2) {
        opacity: 0;
    }

    .uye-portal-nav-menu-btn.is-active .uye-portal-nav-menu-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (min-width: 721px) {
    .uye-portal-nav-inner {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-bottom: 12px;
    }

    .uye-portal-nav-cluster {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-content: center;
        gap: 4px 10px;
        width: auto;
        max-width: 100%;
        padding: 8px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .uye-portal-nav-topbar {
        width: auto;
        flex-shrink: 0;
        justify-content: flex-start;
    }

    .uye-portal-nav-head {
        min-width: 0;
    }

    .uye-portal-nav-brand {
        padding-right: 12px;
        margin-right: 2px;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }

    .uye-portal-nav-panel {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex: 0 1 auto;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding-top: 0;
        margin: 0;
        border-top: none;
        gap: 0;
    }

    .uye-portal-nav-list {
        justify-content: center;
        align-items: center;
        width: auto;
        max-width: 100%;
        flex-wrap: wrap;
    }
}

/* —— Admin ortak üst menü (masaüstü + mobil / dokunma) —— */
.admin-nav {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2000;
    background: linear-gradient(180deg, #1e3a52 0%, #152a3d 100%);
    color: #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-nav-inner {
    width: 100%;
    max-width: min(1280px, 100%);
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
    padding-top: max(10px, env(safe-area-inset-top));
}

.admin-nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    width: 100%;
}

.admin-nav-brand {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #fff;
    text-decoration: none;
    padding: 8px 6px 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

.admin-nav-brand:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-nav-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-nav-menu-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.admin-nav-menu-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 18px;
}

.admin-nav-menu-bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 720px) {
    .admin-nav-menu-icon {
        display: flex;
    }

    .admin-nav-menu-btn.is-active .admin-nav-menu-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .admin-nav-menu-btn.is-active .admin-nav-menu-bar:nth-child(2) {
        opacity: 0;
    }

    .admin-nav-menu-btn.is-active .admin-nav-menu-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.admin-nav-panel {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.admin-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.admin-nav-list-item {
    margin: 0;
    position: relative;
}

.admin-nav-list-item--user {
    flex-shrink: 0;
    margin-left: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-nav-link.is-active {
    background: #fff;
    color: #152a3d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-nav-link.is-active:hover {
    background: #f8fafc;
    color: #0f172a;
}

.admin-nav-dropdown {
    position: relative;
}

.admin-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
}

.admin-nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-nav-dropdown-toggle.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.admin-nav-dropdown.has-active > .admin-nav-dropdown-toggle {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.admin-nav-dropdown-chevron {
    font-size: 0.65em;
    opacity: 0.85;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.admin-nav-dropdown.is-open .admin-nav-dropdown-chevron {
    transform: rotate(180deg);
}

.admin-nav-dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-nav-dropdown.is-open {
    z-index: 2105;
}

.admin-nav-dropdown.is-open .admin-nav-dropdown-menu {
    display: block;
}

.admin-nav-dropdown-link {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
}

.admin-nav-user {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    max-width: min(220px, 100%);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-nav-user .fa-site--nav {
    flex-shrink: 0;
    opacity: 0.9;
}

@media (max-width: 720px) {
    .admin-nav-menu-btn {
        display: inline-flex;
    }

    .admin-nav-panel.is-open {
        display: block;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .admin-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }

    .admin-nav-list-item {
        width: 100%;
    }

    .admin-nav-list-item--user {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .admin-nav-link,
    .admin-nav-dropdown-toggle {
        width: 100%;
        min-height: 48px;
        white-space: normal;
        line-height: 1.35;
        justify-content: flex-start;
    }

    .admin-nav-dropdown-menu {
        margin: 4px 0 8px 10px;
        padding-left: 10px;
        border-left: 2px solid rgba(255, 255, 255, 0.12);
    }

    .admin-nav-user {
        max-width: none;
        width: 100%;
        padding: 12px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 6px;
        color: #cbd5e1;
    }
}

@media (min-width: 721px) {
    .admin-nav-row {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 14px;
    }

    .admin-nav-menu-btn {
        display: none !important;
    }

    .admin-nav-panel {
        display: flex !important;
        flex: 0 1 auto;
        margin: 0;
        padding: 0;
        border: 0;
        overflow: visible;
        align-items: center;
        justify-content: center;
    }

    .admin-nav-list {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .admin-nav-dropdown-menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        min-width: 220px;
        padding: 6px;
        background: #1e293b;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
        z-index: 2110;
    }

    .admin-nav-dropdown-link {
        width: auto;
        min-width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {
    .admin-nav-link,
    .admin-nav-menu-btn,
    .admin-nav-menu-bar,
    .admin-nav-dropdown-toggle,
    .admin-nav-dropdown-chevron {
        transition: none;
    }
}

.admin-nav-link--cikis {
    color: #fecaca;
}

.admin-nav-link--cikis:hover {
    background: rgba(254, 202, 202, 0.15);
    color: #fff;
}

.admin-nav-link--cikis.is-active {
    background: rgba(254, 202, 202, 0.22);
    color: #fff;
}

.yetkililer-sayfa-aciklama {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 20px;
}

.yetkililer-sayfa-aciklama code {
    font-size: 13px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.yetkililer-bos {
    margin: 0;
    color: #94a3b8;
    font-size: 15px;
}

.yetkililer-liste-wrap {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.yetkililer-liste-baslik {
    display: none;
    grid-template-columns: 1fr 1fr minmax(8rem, 1.2fr);
    gap: 16px;
    padding: 12px 14px;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .yetkililer-liste-baslik {
        display: grid;
    }
}

.yetkililer-satir {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.yetkililer-satir:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .yetkililer-satir {
        grid-template-columns: 1fr 1fr minmax(8rem, 1.2fr);
        gap: 16px;
        align-items: center;
        padding: 12px 14px;
    }
}

.yetkililer-hucre {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 12px;
    min-width: 0;
}

@media (min-width: 768px) {
    .yetkililer-hucre {
        display: block;
    }
}

.yetkililer-mobil-etiket {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .yetkililer-mobil-etiket {
        display: none;
    }
}

.yetkililer-deger {
    color: #1e293b;
    text-align: right;
    word-break: break-word;
}

@media (min-width: 768px) {
    .yetkililer-deger {
        text-align: left;
    }
}

.select-sabit:disabled {
    opacity: 1;
    color: #334155;
    background-color: #f1f5f9;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

/* —— Halka açık form: yönetici girişi (yanlışlıkla tıklanmasın diye küçük dipnot) —— */
.admin-entry-hint {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e8ecf0;
    text-align: center;
    font-size: 12px;
    line-height: 1.55;
    color: #94a3b8;
}

.admin-entry-hint-link {
    color: #64748b;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.admin-entry-hint-link:hover {
    color: #334155;
}

.admin-entry-hint a:not(.admin-entry-hint-link) {
    color: #64748b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.admin-entry-hint a:not(.admin-entry-hint-link):hover {
    color: #334155;
}

/* —— Admin özet / istatistik —— */
.admin-ozet-kart {
    max-width: 960px;
}

.admin-ozet-karsilama {
    margin: -8px 0 20px;
    font-size: 15px;
    color: #475569;
}

.admin-istatistik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.admin-stat-kutu {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
}

.admin-stat-kutu-ikon {
    display: block;
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #2563eb;
    opacity: 0.88;
}

.admin-stat-sayi {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}

.admin-stat-sayi--tarih-saat {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    word-break: break-word;
}

.admin-stat-etiket {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.admin-ozet-iki-sutun {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.admin-ozet-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 16px;
}

.admin-ozet-panel-baslik {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.admin-ozet-panel-aciklama {
    margin: -6px 0 12px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.admin-ozet-bos {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

.admin-ozet-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-ozet-liste li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.admin-ozet-liste li:last-child {
    border-bottom: none;
}

.admin-ozet-liste-etiket {
    color: #334155;
    word-break: break-word;
}

.admin-ozet-liste-adet {
    font-weight: 700;
    color: #23384d;
    flex-shrink: 0;
}

.admin-ozet-altnot {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Misafir kayıt — referans bağlantısı bilgisi */
.portal-ref-bilgi {
    margin-bottom: 16px;
}

/* Üye — davet sayfası */
.uye-davet-page-card .uye-portal-page-lead {
    max-width: none;
    text-align: justify;
    text-justify: inter-word;
}

.uye-davet-alt-baslik {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
}

.uye-davet-onizleme {
    margin-bottom: 12px;
}

.uye-davet-manuel-gonder-hint {
    margin: 0 0 10px;
}

.uye-davet-page-card .uye-davet-kopyala-form-group .btn-submit,
.uye-davet-form .form-group .btn-submit {
    width: 100%;
    box-sizing: border-box;
}

.uye-davet-kopyala-form-group {
    margin-bottom: 4px;
}

.uye-davet-sms-ayirici {
    border: none;
    border-top: 1px solid #cfd8e3;
    margin: 22px 0 0;
    padding: 0;
    height: 0;
}

.uye-davet-onizleme-metin {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
}

.uye-davet-sonuc-liste {
    margin: 0;
    padding-left: 1.2em;
}

.uye-davet-textarea {
    font-family: inherit;
    min-height: 120px;
}

/* Admin — referans raporu */
.referans-rapor-aciklama {
    margin: 0 0 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.referans-rapor-istatistik {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 22px;
}

.referans-rapor-badge {
    display: inline-block;
    padding: 8px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
}

.referans-rapor-badge strong {
    color: #0f172a;
}

.referans-rapor-h2 {
    margin: 28px 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.referans-rapor-h2:first-of-type {
    margin-top: 0;
}

.referans-rapor-bos {
    margin: 0 0 8px;
    font-size: 14px;
    color: #94a3b8;
}

.referans-rapor-tablo-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.referans-rapor-tablo-wrap--genis {
    overflow-x: auto;
}

.referans-rapor-satir {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 14px;
    padding: 10px 14px;
    font-size: 13px;
    align-items: baseline;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.referans-rapor-satir:last-child {
    border-bottom: none;
}

.referans-rapor-satir--baslik {
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
}

.referans-rapor-satir--5 {
    grid-template-columns: minmax(100px, 1.2fr) minmax(100px, 1.2fr) 1fr 0.7fr 0.5fr;
    min-width: 640px;
}

.referans-rapor-id {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 4px;
}

@media (max-width: 720px) {
    .referans-rapor-satir:not(.referans-rapor-satir--5) {
        grid-template-columns: 1fr;
    }
}

/* Font Awesome — site geneli */
.fa-site {
    margin-inline-end: 0.45em;
}

.fa-site--nav {
    width: 1.15em;
    text-align: center;
    opacity: 0.92;
}

.fa-site--title {
    margin-inline-end: 0.4em;
    opacity: 0.9;
}

.fa-site--tab {
    margin-inline-end: 0.35em;
    font-size: 0.92em;
}

.fa-site--h2 {
    margin-inline-end: 0.35em;
    font-size: 0.95em;
    color: #475569;
}

.uye-portal-nav-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.uye-portal-nav-brand-icon {
    font-size: 0.95em;
    opacity: 0.95;
}

.admin-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.admin-nav-brand-icon {
    font-size: 0.95em;
    opacity: 0.92;
}

.index-uye-amac-bilgi {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.index-uye-amac-bilgi .fa-site--alert-lead {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1.2rem;
    color: #0b4f7a;
    margin-inline-end: 0;
}

.index-uye-amac-bilgi-metin {
    flex: 1;
    min-width: 0;
}

.alert-sms-dikkat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-sms-dikkat .fa-site--alert-lead {
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 1.25rem;
    margin-inline-end: 0;
}

.alert-sms-dikkat .fa-site--alert-warn {
    color: #b45309;
}

.alert-sms-dikkat-icerik {
    flex: 1;
    min-width: 0;
}

.portal-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-card > h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25em;
}

.page-top h1,
.uye-portal-page-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35em;
}

.page-top h1 .fa-site--title,
.uye-portal-page-title .fa-site--title {
    margin-inline-end: 0;
}

.index-uye-page-title {
    justify-content: center;
}