/* =========================================================
   ÜYELİK SİSTEMİ - tfuye
   Temanın mevcut stilleri değiştirilmeden eklenmiştir.
   ========================================================= */

/* ===== ORTAK ===== */
.tfuye-form,
.tfuye-panel,
.tfuye-kutu {
    font-size: 16px;
}

/* ===== GİRİŞ / KAYIT KUTUSU ===== */
.tfuye-kutu {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.tfuye-kutu-basi {
    text-align: center;
    margin-bottom: 28px;
}

.tfuye-kutu-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(var(--tftema-accent-rgb), 0.12);
    color: var(--tftema-accent);
    font-size: 22px;
    margin-bottom: 16px;
}

.tfuye-kutu-baslik {
    font-size: 26px;
    font-weight: 700;
    color: var(--tftema-primary);
    line-height: 1.3;
    margin-bottom: 8px;
}

.tfuye-kutu-alt {
    font-size: 15px;
    color: #6b7280;
}

.tfuye-kutu-alti {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 15px;
    color: #6b7280;
}

.tfuye-kutu-alti a {
    color: var(--tftema-accent);
    font-weight: 700;
}

.tfuye-kutu-alti a:hover {
    text-decoration: underline;
}

/* ===== SOSYAL GİRİŞ ===== */
.tfuye-sosyal {
    margin-bottom: 20px;
}

.tfuye-sosyal .nsl-container {
    margin: 0 !important;
}

.tfuye-sosyal .nsl-container-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 0 !important;
}

.tfuye-sosyal .nsl-container-buttons a {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.tfuye-sosyal .nsl-button {
    width: 100% !important;
    justify-content: center;
    border-radius: 8px !important;
}

.tfuye-ayrac {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    font-size: 15px;
    color: #6b7280;
}

.tfuye-ayrac::before,
.tfuye-ayrac::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ===== FORM ALANLARI ===== */
.tfuye-alan {
    display: block;
    margin-bottom: 20px;
}

.tfuye-alan label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--tftema-primary);
    margin-bottom: 8px;
}

.tfuye-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tfuye-input:focus {
    border-color: var(--tftema-accent);
    box-shadow: 0 0 0 3px rgba(var(--tftema-accent-rgb), 0.15);
}

.tfuye-input--kilitli,
.tfuye-input:disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

select.tfuye-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.tfuye-ipucu {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.tfuye-alan--satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.tfuye-onay {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0;
}

.tfuye-onay input {
    width: 18px;
    height: 18px;
    accent-color: var(--tftema-accent);
    cursor: pointer;
}

.tfuye-kucuk-link {
    font-size: 15px;
    color: var(--tftema-accent);
    font-weight: 600;
}

.tfuye-kucuk-link:hover {
    text-decoration: underline;
}

/* Bal küpü - gizli */
.tfuye-kupu {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===== BUTON ===== */
.tfuye-buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--tftema-accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--tftema-accent-rgb), 0.3);
    transition: background 0.2s, box-shadow 0.2s;
}

.tfuye-buton:hover {
    background: var(--tftema-primary);
    box-shadow: 0 4px 15px rgba(var(--tftema-primary-rgb), 0.3);
}

/* ===== UYARI KUTULARI ===== */
.tfuye-uyari {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.tfuye-uyari i {
    font-size: 18px;
    margin-top: 1px;
}

.tfuye-uyari p + p {
    margin-top: 4px;
}

.tfuye-uyari--hata {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.tfuye-uyari--basari {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.tfuye-uyari--bilgi {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* ===== HESABIM PANELİ ===== */
.tfuye-panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.tfuye-yan {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 100px;
}

.tfuye-uye-karti {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.tfuye-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--tftema-primary-rgb), 0.1);
    color: var(--tftema-primary);
    font-size: 20px;
}

.tfuye-uye-bilgi {
    min-width: 0;
}

.tfuye-uye-bilgi strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--tftema-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tfuye-uye-bilgi span {
    display: block;
    font-size: 14px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sol menü */
.tfuye-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tfuye-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    transition: background 0.2s, color 0.2s;
}

.tfuye-menu-link i {
    width: 20px;
    font-size: 16px;
    text-align: center;
    color: #9ca3af;
    transition: color 0.2s;
}

.tfuye-menu-link:hover {
    background: #f3f4f6;
    color: var(--tftema-primary);
}

.tfuye-menu-link:hover i {
    color: var(--tftema-accent);
}

.tfuye-menu-link--aktif {
    background: rgba(var(--tftema-accent-rgb), 0.1);
    color: var(--tftema-accent);
}

.tfuye-menu-link--aktif i {
    color: var(--tftema-accent);
}

.tfuye-menu-link--cikis {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    color: #b91c1c;
}

.tfuye-menu-link--cikis i {
    color: #ef4444;
}

.tfuye-menu-link--cikis:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* Sağ içerik */
.tfuye-icerik {
    min-width: 0;
}

.tfuye-kart {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.tfuye-kart:last-child {
    margin-bottom: 0;
}

.tfuye-kart-baslik {
    font-size: 22px;
    font-weight: 700;
    color: var(--tftema-primary);
    line-height: 1.3;
    margin-bottom: 10px;
}

.tfuye-metin {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.tfuye-kart .tfuye-metin:last-child {
    margin-bottom: 0;
}

/* Özet kutuları */
.tfuye-ozet {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.tfuye-ozet-kutu {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
}

.tfuye-ozet-etiket {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.tfuye-ozet-deger {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--tftema-primary);
    word-break: break-word;
}

/* ===== MOBİL ===== */
@media (max-width: 900px) {
    .tfuye-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .tfuye-yan {
        position: static;
    }

    .tfuye-ozet {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tfuye-kutu,
    .tfuye-kart {
        padding: 24px 20px;
    }

    .tfuye-ozet {
        grid-template-columns: minmax(0, 1fr);
    }

    .tfuye-kutu-baslik {
        font-size: 22px;
    }
}
