﻿/* --- Global Reset & Background --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Takes up 100% of the screen height */
}

/* --- The Main Card Container --- */
.auth-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Soft shadow */
    width: 100%;
    max-width: 400px; /* Prevents it from getting too wide on large screens */
    box-sizing: border-box;
}

    .auth-card h3 {
        text-align: center;
        color: #333333;
        margin-top: 0;
        margin-bottom: 5px;
    }

    .auth-card p.subtitle {
        text-align: center;
        color: #777777;
        font-size: 14px;
        margin-bottom: 25px;
    }

/* --- Form Controls --- */
.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #555555;
        font-size: 14px;
    }

.input-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s; /* Smooth glow effect */
}

    .input-control:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

/* --- Buttons --- */
.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #0056b3; /* Darker blue when hovered */
    }

/* --- Messages & Links --- */
.msg-success {
    color: #28a745;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-top: 15px;
}

.msg-error {
    color: #dc3545;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-top: 15px;
}

.footer-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #555555;
}

    .footer-link a {
        color: #007bff;
        text-decoration: none;
        font-weight: bold;
    }

        .footer-link a:hover {
            text-decoration: underline;
        }
