﻿/* Gece Teması Giriş Kutusu Stilleri */
.login-card {
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    background: #111827; /* Derin gece zemini */
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #f3f4f6;
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

    .login-header .brand-icon {
        width: 56px;
        height: 56px;
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 12px;
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    .login-header h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 600;
        color: #ffffff;
        letter-spacing: -0.5px;
    }

    .login-header p {
        margin: 6px 0 0;
        font-size: 13px;
        color: #9ca3af;
    }

/* Mesaj Alanı */
.alert-message {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    text-align: center;
}

/* Form Elemanları */
.input-group {
    margin-bottom: 18px;
}

    .input-group label {
        display: block;
        font-size: 12px;
        font-weight: 500;
        color: #d1d5db;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #6b7280;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-control {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 40px;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
        background-color: #111827;
    }

        .form-control:focus + .input-icon,
        .input-wrapper:focus-within .input-icon {
            color: #3b82f6;
        }

/* Şifre Göster/Gizle Butonu */
.btn-toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
    transition: color 0.2s ease;
}

    .btn-toggle-password:hover {
        color: #9ca3af;
    }

/* Checkbox Alanı */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    font-size: 13px;
    color: #9ca3af;
    user-select: none;
}

    .custom-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #4b5563;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Giriş Butonu */
.btn-login {
    width: 100%;
    height: 48px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        background: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    }

    .btn-login:active {
        transform: scale(0.99);
    }
