/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login Container */
.login-container {
    text-align: center;
}

.login-box {
    background-color: #ffffff;
    padding: 2rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Header Styles */
.header {
    margin-bottom: 1.5rem;
}

.header h1 {
    color: #004080; /* Primary color from the main app */
    font-size: 1.8rem;
    margin: 0;
}

.header p {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Form Styles */
#login-form h2, #update-password-form h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

#update-password-form p {
    text-align: left;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Button Styles */
button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: #004080; /* Primary color */
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0059b3; /* A slightly lighter shade for hover */
}

button:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

/* Error and Message Styles */
.error-message {
    color: #dc3545; /* Danger color from the main app */
    margin-top: 1rem;
    min-height: 1.2em; /* Reserve space to prevent layout shift */
    font-weight: bold;
}

/* Footer and Creator Credit Styles */
.login-footer {
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.creator-credit {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}