/* Login Page Styles */
body.login-body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f5f5f5;
    background: linear-gradient(180deg, #ffffff 0%, #fff9e6 100%);
    padding-top: 24px;
    overflow: auto;
    /* scroll tekrar aktif */
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
    /* daha kompakt */
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    padding: 20px;
    /* içerik daha küçük */
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    /* logo alanı küçültüldü */
    height: 56px;
    border-radius: 50%;
    background: #fff7d1;
    margin: 0 auto 12px auto;
}

.login-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 12px;
    /* daha az boşluk */
    color: #333333;
    font-size: 1.1rem;
    /* h4 biraz küçültüldü */
}

.form-control.login-input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    /* input yükseklik küçültüldü */
    height: auto;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control.login-input:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 0 0.2rem rgba(241, 196, 15, 0.20);
}

.btn-login {
    display: inline-block;
    width: 100%;
    background-color: #f1c40f;
    color: #1f1f1f;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    /* buton daha kompakt */
    font-weight: 600;
    font-size: .95rem;
    transition: background-color .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn-login:hover {
    background-color: #d4ac0d;
}

.btn-login:active {
    transform: translateY(1px);
}

.login-footer {
    text-align: center;
    color: #666666;
    font-size: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 8px;
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 16px;
    }

    .login-card {
        padding: 22px;
    }
}


/* Flip card container for login/register */
.flip-container {
    perspective: 1000px;
    position: relative;
    width: 100%;
    min-height: 420px;
    /* daha kompakt */
}

.flipper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .6s ease-in-out;
    width: 100%;
    height: 100%;
}

.flipped .flipper {
    transform: rotateY(180deg);
}

.flip-face {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.flip-back {
    transform: rotateY(180deg);
}

/* Fix card jumping by enforcing min-height for both faces */
.flip-container .login-card {
    min-height: 380px;
    /* içerik yüksekliği düşürüldü */
}

/* Arkaplan görseli - en sonda gelerek önceki gradient tanımlarını geçersiz kılar */
body.login-body {
    background-image: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), url('/img/salle.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}