/* Ortak "kimlik doğrulama" sayfa kabuğu — account/login.php ve account/register.php
   arasında paylaşılır, ikisinin aynı görünüp aynı hissettirmesi için tek yerden yönetilir. */

body.auth-body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-auth {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    background: #fff;
}

/* Sol taraf: dekoratif arkaplan + karşılama metni (masaüstünde görünür) */
.auth-bg-container {
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100%;
    min-height: 600px;
}
.auth-bg-container.auth-bg-login {
    background-image: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}
.auth-bg-container.auth-bg-register {
    background-image: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}
.auth-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(34, 74, 190, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sağ taraf: form içeriği */
.auth-content-wrapper {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.auth-content-wrapper .form-control {
    height: 50px;
    border-radius: 50px;
    padding-left: 20px;
    background: #f8f9fc;
    border: 1px solid #eee;
}
.auth-content-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #4e73df;
    background: #fff;
}
.auth-content-wrapper .input-group-text {
    border-radius: 50px 0 0 50px;
    border: none;
    background: #f8f9fc;
    padding-left: 20px;
    color: #aaa;
}
.auth-content-wrapper .input-group > .input-group-prepend > .input-group-text {
    border: 1px solid #eee;
    border-right: none;
}
.auth-content-wrapper .input-group > .form-control {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
/* Şifre göster/gizle simgesi eklenen alanlarda sağ köşeyi de yuvarlat */
.auth-content-wrapper .input-group > .password-toggle-group {
    border-radius: 0 50px 50px 0;
    border: 1px solid #eee;
    border-left: none;
    background: #f8f9fc;
}
.auth-content-wrapper .password-toggle {
    border: none;
    background: transparent;
    color: #aaa;
    padding: 0 18px;
}
.auth-content-wrapper .password-toggle:hover { color: #4e73df; }

.btn-auth {
    background-color: #4e73df;
    color: #fff;
    border-radius: 50px;
    height: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(78, 115, 223, 0.4);
    transition: 0.3s;
    border: none;
}
.btn-auth:hover, .btn-auth:focus {
    background-color: #2e59d9;
    color: #fff;
    transform: translateY(-2px);
}
.btn-auth:disabled { opacity: 0.75; transform: none; }

.brand-text {
    color: #4e73df;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 30px;
    display: block;
    text-decoration: none;
}

.auth-link {
    color: #858796;
    font-size: 0.9rem;
}
.auth-link a {
    color: #4e73df;
    font-weight: 600;
    text-decoration: none;
}
.auth-link a:hover { text-decoration: underline; }

.custom-control-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}
.forgot-pass {
    font-size: 0.9rem;
    color: #858796;
    text-decoration: none;
}
.forgot-pass:hover { color: #4e73df; }

.kvkk-link {
    color: #4e73df;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}
.kvkk-link:hover { color: #2e59d9; }

.auth-field-error {
    color: #e74a3b;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}
