/* Auth Pages Specific Styles */

/* Body layout for auth pages */
body.auth-page {
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
}

/* Auth container */
.auth-container {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Auth header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-header p {
    color: var(--gray-600);
    margin: 0;
}

/* Logo header */
.logo-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.logo-header a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-header a:hover {
    opacity: 0.8;
}

/* Form styles */
.auth-form {
    margin-top: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Form check (remember me) */
.form-check {
    margin: 1rem 0;
}

.form-check-label {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    cursor: pointer;
}

.form-check-input {
    margin-right: 0.5rem;
}

/* Submit button */
.auth-form .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-form .btn-primary:hover {
    background: var(--primary-hover);
}

/* Secondary button */
.btn-secondary {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--gray-300);
}

/* Form footer */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.form-footer p {
    margin: 0.5rem 0;
    color: var(--gray-600);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Password requirements list */
.password-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 6px;
    font-size: 0.875rem;
}

.password-requirements h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
}

.password-requirements li {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

/* Name fields grid */
.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Success state */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message h2 {
    color: var(--success);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
    }
    
    .logo-header {
        position: static;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .name-fields {
        grid-template-columns: 1fr;
    }
}