body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
}



.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.auth-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-box p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

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

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: #E0FFFF; /* Your theme color */
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #cce7e7; /* A slightly darker shade for hover */
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* --- Styles for Password Requirements --- */
#password-requirements {
    text-align: left;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

#password-requirements p {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #333;
}

#password-requirements ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: none;
}

#password-requirements li {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    position: relative;
}

#password-requirements li::before {
    content: "✗";
    position: absolute;
    left: -1.2rem;
    font-weight: bold;
}

#password-requirements li.valid {
    color: #28a745;
}

#password-requirements li.valid::before {
    content: "✓";
    color: #28a745;
}

#password-requirements li.invalid {
    color: #dc3545;
}

#password-requirements li.invalid::before {
    content: "✗";
    color: #dc3545;
}

/* Real-time validation message styling */
.validation-message {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.validation-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.validation-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Form styling improvements */
.form-control {
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Message styling */
.messages {
    margin-bottom: 1rem;
}

.messages p {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.messages .success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.messages .error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.messages .warning {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

.messages .info {
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
}