/* static/css/login.css */

/* ========================= */
/*        LOGIN CONTAINER    */
/* ========================= */

/* Container for the Login Form */
.login-container {
    width: 100%;
    max-width: 500px;
    margin: 80px auto;
    padding: 30px;
    background-color: #ffffff; /* White background to match light theme */
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    animation: fadeIn 1s ease-out;
}

/* Form Wrapper */
.login-form-wrapper {
    padding: 20px 10px;
}

/* ========================= */
/*          HEADER           */
/* ========================= */

/* Login Heading */
.login-form-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333333; /* Dark text color for readability */
    font-size: 2.5em;
    position: relative;
    font-weight: 700;
}

/* Decorative Underline */
.login-form-wrapper h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #1e90ff; /* Vibrant blue underline */
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========================= */
/*          FORM             */
/* ========================= */

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Labels */
.login-form label {
    color: #333333; /* Dark text color */
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1em;
}

/* Input and Textarea Fields */
.login-form input,
.login-form textarea {
    padding: 14px 20px;
    border: 1px solid #cccccc; /* Light border */
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9; /* Light input background */
    color: #333333; /* Dark text color */
}

/* Placeholder Text */
.login-form input::placeholder,
.login-form textarea::placeholder {
    color: #aaaaaa; /* Gray placeholder text for subtlety */
    font-style: italic;
}

/* Focus Effects */
.login-form input:focus,
.login-form textarea:focus {
    border-color: #1e90ff; /* Blue border on focus */
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.2); /* Blue glow on focus */
    outline: none;
    background-color: #ffffff; /* White background on focus */
}

/* ========================= */
/*         BUTTONS           */
/* ========================= */

/* Submit Button */
.btn-submit {
    padding: 15px;
    background-color: #1e90ff; /* Vibrant blue background */
    color: #ffffff; /* White text for contrast */
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Submit Button Hover Effects */
.btn-submit:hover {
    background-color: #1c86ee; /* Darker blue on hover */
    transform: translateY(-3px); /* Slight lift effect */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

/* ========================= */
/*    ADDITIONAL LINKS       */
/* ========================= */

/* Additional Links Styling */
.additional-links {
    text-align: center;
    margin-top: 20px;
}

.additional-links p {
    margin: 10px 0;
}

.additional-links a {
    color: #1e90ff; /* Vibrant blue for links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.additional-links a:hover {
    color: #1c86ee; /* Darker blue on hover */
}

/* ========================= */
/*          ANIMATIONS       */
/* ========================= */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/*       RESPONSIVE DESIGN   */
/* ========================= */

/* Responsive Adjustments */
@media (max-width: 600px) {
    .login-container {
        width: 90%;
        padding: 20px;
        margin: 60px auto;
    }

    .login-form-wrapper h2 {
        font-size: 2em;
    }

    .btn-submit {
        font-size: 1em;
        padding: 12px;
    }
}
