/* ========== KAYIT OL SAYFASI CSS ========== */

/* Ana Layout */
.auth-main {
    min-height: calc(100vh - 134px);
    background: #f4f6f9;
    display: flex;
    align-items: stretch;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 134px);
}

/* Sol Marka Paneli */
.auth-brand-panel {
    flex: 0 0 42%;
    background:
        linear-gradient(
            145deg,
            rgba(42, 63, 84, 0.82) 0%,
            rgba(26, 43, 60, 0.88) 60%,
            rgba(15, 30, 45, 0.92) 100%
        ),
        url("../images/giris_kayit_resimleri/giris_kayit_background.jpg") center
            center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 48px 52px;
}

.auth-brand-inner {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.auth-brand-logo-link {
    display: inline-block;
    margin-bottom: 36px;
}

.auth-brand-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.auth-brand-slogan {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.auth-brand-slogan span {
    color: #ff6600;
}

.auth-brand-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.auth-brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.auth-brand-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.auth-brand-list li i {
    font-size: 16px;
    color: #ff6600;
    flex-shrink: 0;
}

/* Arka plan şekilleri */
.auth-brand-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.auth-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.auth-shape-1 {
    width: 340px;
    height: 340px;
    top: -80px;
    right: -100px;
}

.auth-shape-2 {
    width: 220px;
    height: 220px;
    bottom: 60px;
    left: -60px;
    background: rgba(255, 102, 0, 0.08);
}

.auth-shape-3 {
    width: 130px;
    height: 130px;
    bottom: -30px;
    right: 60px;
    background: rgba(255, 255, 255, 0.05);
}

/* Sağ Form Paneli */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 32px;
    background: #ffffff;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
    padding-bottom: 32px;
}

/* Form Header */
.auth-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-form-ikon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff3ea 0%, #ffe0cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.auth-form-ikon i {
    font-size: 24px;
    color: #ff6600;
}

.auth-form-baslik {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.auth-form-alt {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* Sosyal Butonlar */
.auth-sosyal-butonlar {
    margin-bottom: 18px;
}

.auth-sosyal-btn {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2a;
    cursor: pointer;
    transition: all 0.18s;
}

.auth-sosyal-btn:hover {
    background: #f8f8f8;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* Ayraç */
.auth-ayrac {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #aaa;
}

.auth-ayrac::before,
.auth-ayrac::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ebebeb;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Input Grubu */
.auth-input-grup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-optional {
    font-size: 12px;
    font-weight: 400;
    color: #aaa;
}

/* Input Wrap */
.auth-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #d8d8d8;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.auth-input-wrap:focus-within {
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.auth-input-wrap.hata {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.auth-input-ikon {
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background: #f7f8fa;
    border-right: 1.5px solid #e8e8e8;
    flex-shrink: 0;
    font-size: 15px;
}

.auth-input {
    flex: 1;
    height: 48px;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    color: #1a1a1a;
    background: transparent;
    min-width: 0;
}

.auth-input::placeholder {
    color: #c0c0c0;
}

.auth-sifre-toggle {
    width: 44px;
    height: 48px;
    border: none;
    background: transparent;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 16px;
    transition: color 0.15s;
}

.auth-sifre-toggle:hover {
    color: #555;
}

/* Hata Mesajı */
.auth-hata {
    font-size: 12px;
    color: #e53935;
    margin: 0;
    display: none;
    min-height: 16px;
}

.auth-hata.goster {
    display: block;
}

/* Şifre Güç Göstergesi */
.auth-sifre-guc {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.auth-sifre-guc-bar {
    flex: 1;
    height: 5px;
    background: #ebebeb;
    border-radius: 10px;
    overflow: hidden;
}

.auth-sifre-guc-dolu {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition:
        width 0.35s ease,
        background-color 0.35s ease;
}

.auth-sifre-guc-dolu.zayif {
    background: #e53935;
}

.auth-sifre-guc-dolu.orta {
    background: #f57c00;
}

.auth-sifre-guc-dolu.iyi {
    background: #388e3c;
}

.auth-sifre-guc-dolu.guclu {
    background: #1a6e3c;
}

.auth-sifre-guc-yazi {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.auth-sifre-guc-yazi.zayif {
    color: #e53935;
}

.auth-sifre-guc-yazi.orta {
    color: #f57c00;
}

.auth-sifre-guc-yazi.iyi {
    color: #388e3c;
}

.auth-sifre-guc-yazi.guclu {
    color: #1a6e3c;
}

/* Checkbox (Beni Hatırla / Sözleşme) */
.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.auth-checkbox {
    display: none;
}

.auth-checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #d0d0d0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    background: #fff;
    margin-top: 1px;
}

.auth-checkbox:checked + .auth-checkbox-custom {
    background: #ff6600;
    border-color: #ff6600;
}

.auth-checkbox:checked + .auth-checkbox-custom::after {
    content: "";
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

/* Sözleşme */
.auth-sozlesme {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auth-sozlesme-link {
    color: #ff6600;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.auth-sozlesme-link:hover {
    color: #e65c00;
    text-decoration: underline;
}

/* Genel Hata */
.auth-genel-hata {
    background: #fdf2f2;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #c0392b;
    display: none;
}

/* Submit Butonu — Kayıt Ol (koyu lacivert) */
.auth-submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6600 0%, #e65c00 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 4px;
}

.auth-submit-btn--register {
    background: linear-gradient(135deg, #2a3f54 0%, #1a2b3c 100%);
}

.auth-submit-btn:hover {
    box-shadow: 0 4px 14px rgba(42, 63, 84, 0.3);
    transform: translateY(-1px);
}

.auth-submit-btn--register:hover {
    background: linear-gradient(135deg, #1e2f3f 0%, #111e2b 100%);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Alt Link */
.auth-alt-link {
    text-align: center;
    font-size: 13.5px;
    color: #777;
    margin-top: 20px;
}

.auth-alt-link a {
    color: #ff6600;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}

.auth-alt-link a:hover {
    color: #e65c00;
    text-decoration: underline;
}

/* Aktif Navbar Butonu */
.active-auth-btn {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .auth-brand-panel {
        flex: 0 0 36%;
        padding: 36px 32px;
    }

    .auth-brand-slogan {
        font-size: 24px;
    }
}

@media (max-width: 700px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-brand-panel {
        flex: none;
        padding: 32px 24px 28px;
        min-height: auto;
    }

    .auth-brand-inner {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .auth-brand-logo {
        height: 36px;
    }

    .auth-brand-logo-link {
        margin-bottom: 16px;
    }

    .auth-brand-slogan {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .auth-brand-desc,
    .auth-brand-list {
        display: none;
    }

    .auth-brand-bg-shapes {
        display: none;
    }

    .auth-form-panel {
        padding: 28px 20px 48px;
        align-items: flex-start;
    }

    .auth-form-inner {
        max-width: 100%;
    }

    .auth-form-baslik {
        font-size: 21px;
    }
}

/* ========================================
   HESAP TÜRÜ SEÇİMİ
   ======================================== */
.auth-hesap-turu-secim {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.auth-hesap-turu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.auth-hesap-turu-card:hover {
    border-color: #3b7ddd;
    background: #f8f9fa;
}

.auth-hesap-turu-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-hesap-turu-card input[type="radio"]:checked + .auth-hesap-turu-ikon,
.auth-hesap-turu-card input[type="radio"]:checked ~ .auth-hesap-turu-ikon {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #fff;
}

.auth-hesap-turu-card:has(input[type="radio"]:checked) {
    border-color: #ff6600;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
}

.auth-hesap-turu-card:has(input[type="radio"]:checked) .auth-hesap-turu-ikon {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #fff;
}

.auth-hesap-turu-card:has(input[type="radio"]:checked) .auth-hesap-turu-check {
    opacity: 1;
    transform: scale(1);
}

.auth-hesap-turu-ikon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s ease;
}

.auth-hesap-turu-baslik {
    font-size: 14px;
    font-weight: 700;
    color: #2a3f54;
}

.auth-hesap-turu-aciklama {
    font-size: 12px;
    color: #6c757d;
}

.auth-hesap-turu-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

/* Section Divider */
.auth-form-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #2a3f54;
    margin: 24px 0 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f9ff 100%);
    border-radius: 8px;
    border-left: 4px solid #3b7ddd;
}

.auth-form-bolum-baslik i {
    color: #3b7ddd;
    font-size: 18px;
}

/* Required Label */
.auth-label--required::after {
    content: " *";
    color: #e63946;
    font-weight: 700;
}

/* ========================================
   FAALİYET TÜRÜ SEÇİMİ (Resimdeki gibi)
   ======================================== */
.auth-faaliyet-turu-secim,
.auth-isletme-turu-secim {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.auth-faaliyet-card,
.auth-isletme-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.auth-faaliyet-card:hover,
.auth-isletme-card:hover {
    border-color: #3b7ddd;
    background: #f8f9fa;
}

.auth-faaliyet-card input[type="radio"],
.auth-isletme-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-faaliyet-radio,
.auth-isletme-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 18px;
    transition: color 0.2s;
}

.auth-faaliyet-card:has(input[type="radio"]:checked),
.auth-isletme-card:has(input[type="radio"]:checked) {
    border-color: #ff6600;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.auth-faaliyet-card:has(input[type="radio"]:checked) .auth-faaliyet-radio,
.auth-isletme-card:has(input[type="radio"]:checked) .auth-isletme-radio {
    color: #ff6600;
}

.auth-faaliyet-baslik,
.auth-isletme-baslik {
    font-size: 14px;
    font-weight: 600;
    color: #2a3f54;
    flex: 1;
}

.auth-faaliyet-info {
    color: #6c757d;
    font-size: 14px;
    cursor: help;
}

/* ========================================
   İKİ KOLONLU INPUT (Posta Kodu & Şehir)
   ======================================== */
.auth-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-input-grup--half {
    margin-bottom: 0;
}

/* ========================================
   TEXTAREA INPUT
   ======================================== */
.auth-input--textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* ========================================
   SELECT INPUT
   ======================================== */
.auth-input--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .auth-input-row .auth-input-grup--half {
        margin-bottom: 16px;
    }
    
    .auth-input-row .auth-input-grup--half:last-child {
        margin-bottom: 0;
    }
    
    .auth-faaliyet-card,
    .auth-isletme-card {
        padding: 10px 12px;
    }
    
    .auth-faaliyet-baslik,
    .auth-isletme-baslik {
        font-size: 13px;
    }
}

