/* =========================================
   LOGIN PAGE SPECIFIC STYLING
   ========================================= */

/* Center everything on the screen */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    background: var(--color-background);
    padding: 1rem;
}

/* The main login container */
.login-card {
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 400px;
    transition: all 300ms ease;
}

.login-card:hover {
    box-shadow: none;
}

/* Header & Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-container img {
    width: 4.5rem;
    height: auto;
    margin-bottom: 0.8rem;
}

.logo-container h2 {
    font-size: 1.6rem;
    color: var(--color-dark);
}

.logo-container p {
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* Form Inputs */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.input-field {
    display: flex;
    align-items: center;
    background: var(--color-background);
    border: 1px solid var(--color-info-light);
    border-radius: var(--border-radius-1);
    padding: 0.6rem 1rem;
    transition: all 300ms ease;
}

/* Highlight border green when clicking into the input */
.input-field:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(67, 198, 89, 0.2);
}

.input-field span {
    color: var(--color-info-dark);
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

.input-field input {
    width: 100%;
    background: transparent;
    color: var(--color-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    border: none;
    outline: none;
}

/* Push Forgot Password to the right side */
.form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.forgot-password {
    color: var(--color-primary);
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.8rem;
    border-radius: var(--border-radius-1);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 300ms ease;
    box-shadow: 0 4px 8px rgba(67, 198, 89, 0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 198, 89, 0.3);
}

/* Mobile Adjustments */
@media screen and (max-width: 400px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
}