/* ========== GİRİŞ YAP 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(15, 30, 45, 0.88) 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: center;
    justify-content: center;
    padding: 40px 32px;
    background: #ffffff;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 420px;
}

/* Form Header */
.auth-form-header {
    text-align: center;
    margin-bottom: 28px;
}

.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 Giriş 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: 16px;
}

/* 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;
}

.auth-label-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-sifremi-unuttum {
    font-size: 12.5px;
    font-weight: 600;
    color: #ff6600;
    text-decoration: none;
    transition: color 0.15s;
}

.auth-sifremi-unuttum:hover {
    color: #e65c00;
    text-decoration: underline;
}

/* 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;
}

/* Beni Hatırla */
.auth-beni-hatirla {
    margin-top: -4px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    display: none;
}

.auth-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d0d0d0;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    background: #fff;
}

.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;
}

/* 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 */
.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:hover {
    background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
    transform: translateY(-1px);
}

.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;
        margin-bottom: 0;
    }

    .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 40px;
    }

    .auth-form-inner {
        max-width: 100%;
    }
}
