﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-page {
    min-height: 100vh;
    background-image: url('https://enthrallinggumption.com/wp-content/uploads/2024/10/dark-bedroom.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

    .login-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.login-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.login-card-title {
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.form-input-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

    .form-input-modern::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .form-input-modern:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
    }

.password-toggle {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: rgba(255, 255, 255, 0.9);
    }

.btn-signin {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #d4a574, #c89968);
    border: none;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .btn-signin:hover {
        background: linear-gradient(135deg, #c89968, #b8865a);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-modern {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d4a574;
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: white;
        text-decoration: none;
    }

.signup-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 2rem;
}

.signup-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .signup-link:hover {
        color: #c89968;
        text-decoration: underline;
    }

.text-danger {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary-errors {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 1.5rem;
        list-style: none;
    }

    .validation-summary-errors li {
        margin-bottom: 0.5rem;
        color: #ff6b6b;
        font-size: 0.9rem;
    }

/* Responsive */
@@media (max-width: 768px) {
    .login-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
