/* General Setup */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fb;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Authentication Box Styling */
.auth-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-box h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 25px;
}

/* Form Styling */
#forgot-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.form-hint {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Button Styling */
.primary-button {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

.primary-button:hover {
    background-color: #2980b9;
}

.primary-button:disabled {
    background-color: #aeb6bf;
    cursor: not-allowed;
}

/* Prompt and Links */
.signin-prompt {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 25px;
}

.signin-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.signin-link:hover {
    text-decoration: underline;
}

/* Message Modal (for JavaScript feedback) */
.message-modal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2ecc71;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.message-modal.visible {
    opacity: 1;
    visibility: visible;
}

.message-modal.error {
    background-color: #e74c3c;
}

#modal-content {
    margin: 0;
}