﻿/* ------------------------- GENEL SAYFA ------------------------- */
/* Body font-family tanımlamasına gerek kalmadı, public-layout'tan miras alacak */
body {
    background-color: #ffffff;
    color: #1c1c1c;
}

/* ------------------------- LOGIN CONTAINER ------------------------- */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
}

.login-form-wrapper {
    width: 100%;
    max-width: 460px;
    margin: auto 0;
}

/* ------------------------- LOGIN FORM ------------------------- */
.login-form {
    width: 100%;
    padding: 0px;
    margin: 0;
    background-color: #ffffff;
    color: #1c1c1c;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    height: auto;
}

/* 🔥 İÇERİDEKİ SAYFALARLA AYNI BAŞLIK STİLİ (18px, 600w) 🔥 */
.form-title {
    margin-top: 80px;
    margin-bottom: 24px;
    font-size: 20px !important; /* 18px */
    font-weight: 600 !important;
    color: #001c30;
    text-align: center;
    letter-spacing: 0 !important;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------- FORM GROUP ------------------------- */
.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Label ile input arası boşluk diğer sayfalarla aynı (4px) yapıldı */
    margin-bottom: 20px;
}

    /* 🔥 İÇERİDEKİ SAYFALARLA AYNI ETİKET (LABEL) STİLİ (15px, 500w) 🔥 */
    .form-label-custom,
    .form-group-custom label {
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #555 !important;
        display: block;
        margin-bottom: 0.5rem;
    }

/* ------------------------- FORM INPUTS ------------------------- */
/* 🔥 İÇERİDEKİ SAYFALARLA AYNI İNPUT STİLİ (14px, 46px Yükseklik) 🔥 */
.form-input-custom {
    width: 100%;
    font-size: 14px !important;
    height: 46px !important; /* Diğer sayfalardaki tok input yüksekliği */
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000 !important;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease, transform .08s ease;
    box-sizing: border-box;
}

    .form-input-custom:focus {
        border-color: #a8c7fa;
        box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
        transform: translateY(-1px);
    }

    .form-input-custom::placeholder {
        color: #999 !important;
        opacity: 1;
    }

/* ------------------------- VALIDATION ------------------------- */
.validation-summary-errors,
.validation-message-custom,
.text-danger,
.field-validation-error {
    color: #e11d48;
    font-size: 0.75rem;
    margin-top: 6px;
}

/* ------------------------- REMEMBER ------------------------- */
.remember-me-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

    .remember-me-custom input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        cursor: pointer;
    }

    .remember-me-label-custom,
    .remember-me-custom label {
        font-size: 15px !important;
        color: #555 !important;
        font-weight: 500 !important;
        margin: 0;
        cursor: pointer;
    }

/* ------------------------- BUTTON ------------------------- */
/* 🔥 İÇERİDEKİ SAYFALARLA AYNI BUTON STİLİ 🔥 */
.submit-button-custom {
    width: 100%;
    height: 48px !important; /* Diğer butonlarla aynı yükseklik */
    background: #001c30;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}



/* ------------------------- LINKS ------------------------- */
.forgot-password-link-custom,
.login-form a {
    color: #003F6C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

    .forgot-password-link-custom:hover,
    .login-form a:hover {
        color: #a8c7fa;
        text-decoration: underline;
    }

/* ------------------------- PASSWORD VISIBILITY ------------------------- */
.password-input-container {
    position: relative;
    display: block;
    width: 100% !important;
}

    .password-input-container .form-input-custom {
        padding-right: 40px !important;
    }

.toggle-password-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

    .toggle-password-icon:hover {
        color: #3b82f6 !important;
    }

/* =========================================================
   KAYIT OL SAYFASI
   ========================================================= */
.register-compact .form-title {
    font-size: 20px !important; /* 18px */
    margin-bottom: 18px;
    font-weight: 600;
}

.register-compact .form-group-custom {
    gap: 4px;
    margin-bottom: 14px;
}

.register-compact .form-input-custom {
    padding: 10px 12px;
}

.register-compact .password-input-container .form-input-custom {
    padding-right: 40px !important;
}

.register-compact .submit-button-custom {
    margin-top: 0;
}

/* 🔥 RESPONSIVE EKLENDİ */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .public-left {
        display: none;
    }

    .login-form-wrapper {
        max-width: 100%;
    }
}
