/* static/css/login_style.css */

/* --- Base Styles & Background --- */
body {
    font-family: 'Poppins', sans-serif; /* A modern, friendly font */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* A subtle, clean gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    color: #495057;
}

/* --- Main Login Container --- */
.login-container {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* --- Logo --- */
.login-logo {
    max-width: 300px;
    margin-bottom: 1.5rem;
}

/* --- Header --- */
.login-header h2 {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 2rem;
}

/* --- Form Elements --- */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #26A69A;
    box-shadow: 0 0 0 0.25rem rgba(38, 166, 154, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    float: left;
}

/* --- Buttons --- */
.btn-primary {
    background-color: #26A69A;
    border-color: #26A69A;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #208a7c;
    border-color: #208a7c;
    transform: translateY(-2px);
}

/* --- Links & Footer Text --- */
.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #26A69A;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- Flash Messages --- */
.flash-messages .alert {
    border-radius: 8px;
    text-align: left;
}
