/* ===== Base Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Auth Container ===== */
.auth-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Headings ===== */
.auth-container h1 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== Form ===== */
form {
    width: 100%;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 15px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input:focus {
    outline: none;
    border-color: #27ae60;
}

/* ===== Buttons ===== */
button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #27ae60;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

button:disabled {
    background-color: #9fd6b7;
    cursor: not-allowed;
}

/* ===== Messages ===== */
.message {
    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    display: none;
}

.message.error {
    background-color: #fdecea;
    color: #b71c1c;
    border: 1px solid #f5c6cb;
}

.message.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

/* ===== Footer Links ===== */
.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: #27ae60;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}
