﻿:root {
    --ana-kirmizi: #d63031;
    --koyu-kirmizi: #8a0000;
    --nav-yukseklik: 110px; /* Hayalet navbar için boşluk */
}

.auth-wrapper {
    padding-top: var(--nav-yukseklik);
    min-height: 100vh;
    background: #f8f9fa url('https://www.transparenttextures.com/patterns/cubes.png');
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

/* ANA KART: DOLU DOLU GÖRÜNÜM */
.main-card {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 30px;
    display: flex; /* İkiye bölüyoruz */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* SOL TARAF: DERNEK RUHU */
.side-panel {
    background: linear-gradient(135deg, var(--ana-kirmizi) 0%, var(--koyu-kirmizi) 100%);
    width: 40%;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

    .side-panel i {
        font-size: 4rem;
        margin-bottom: 20px;
        text-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* SAĞ TARAF: FORM ALANI */
.form-panel {
    width: 60%;
    padding: 50px;
    background: white;
    position: relative;
}

/* STEPPER (AŞAMA ÇUBUĞU) - DAHA DOLU VERSİYON */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-item {
    text-align: center;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 45px;
    height: 45px;
    background: #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.4s ease;
    color: #999;
}

.step-item.active .step-icon {
    background: var(--ana-kirmizi);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(214, 48, 49, 0.3);
}

.step-item.done .step-icon {
    background: #27ae60;
    color: white;
}

.step-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #bbb;
}

.step-item.active .step-text {
    color: var(--ana-kirmizi);
}

/* INPUTLAR VE BUTONLAR */
.input-group-custom {
    position: relative;
    margin-bottom: 25px;
}

    .input-group-custom input {
        width: 100%;
        padding: 15px 20px 15px 50px;
        border: 2px solid #f1f1f1;
        border-radius: 15px;
        font-weight: 600;
        transition: all 0.3s;
    }

        .input-group-custom input:focus {
            border-color: var(--ana-kirmizi);
            background: #fffafa;
            outline: none;
        }

    .input-group-custom i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #ccc;
        transition: 0.3s;
    }

    .input-group-custom input:focus + i {
        color: var(--ana-kirmizi);
    }

.btn-login {
    background: var(--ana-kirmizi);
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(214, 48, 49, 0.2);
}

    .btn-login:hover {
        background: var(--koyu-kirmizi);
        transform: translateY(-3px);
    }

/* EFSANE SAYFA AÇILIŞ ANİMASYONU */
.sayfa-giris-animasyonu {
    animation: YandanKayarakGel 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Başlangıçta görünmez */
}

@keyframes YandanKayarakGel {
    0% {
        opacity: 0;
        transform: translateX(50px) translateY(20px); /* Sağdan ve hafif alttan başla */
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0); /* Tam yerine otur */
    }
}

/* MOBİL AYARI */
@media (max-width: 768px) {
    .main-card {
        flex-direction: column;
        margin: 20px;
    }

    .side-panel {
        width: 100%;
        padding: 30px;
    }

    .form-panel {
        width: 100%;
        padding: 30px;
    }
}


/* 🚀 KIRMIZI - BEYAZ ÖZEL BİLGİ BUTONU */
.btn-activation-info {
    background-color: #fff;
    color: #c00000;
    border: 2px solid #c00000;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.1);
}

/* Üzerine gelince (Hover) kırmızıyı doldurur ve havaya kalkar */
.btn-activation-info:hover {
    background-color: #c00000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(192, 0, 0, 0.25);
}

/* Tıklanma anı (Active) tok bir basılma hissi verir */
.btn-activation-info:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(192, 0, 0, 0.2);
    background-color: #a00000;
    border-color: #a00000;
}
