.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-container h1 {
    text-align: center;
    color: #2c5282;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.error-message {
    color: #e53e3e;
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button--primary {
    background-color: #4299e1;
    color: white;
}

.button--primary:hover {
    background-color: #2b6cb0;
}

.button--secondary {
    background-color: #edf2f7;
    color: #2d3748;
    text-decoration: none;
}

.button--secondary:hover {
    background-color: #e2e8f0;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: #2c5282;
    text-decoration: none;
}

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

.form-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.auth-link {
    color: #2c5282;
    text-decoration: none;
}

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

.form-info {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #718096;
}

.form-info a {
    color: #2c5282;
    text-decoration: none;
}

.form-info a:hover {
    text-decoration: underline;
}

/* Loading state styles */
.button--loading {
    position: relative;
    color: transparent;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: button-loading-spinner 0.75s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: translate(-50%, -50%) rotate(0turn);
    }
    to {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.strength-weak { background-color: #fc8181; width: 33.33%; }
.strength-medium { background-color: #f6ad55; width: 66.66%; }
.strength-strong { background-color: #68d391; width: 100%; }