/**
 * Authentication Pages Styles
 * Clean, minimal, centered design
 */

:root {
    --auth-primary: #3f85ff;
    --auth-primary-hover: #2a6ad4;
    --auth-text: #111827;
    --auth-text-secondary: #6b7280;
    --auth-border: #e5e7eb;
    --auth-bg: #f9fafb;
}

/* Base */
.auth-page {
    min-height: 100vh;
    background: var(--auth-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.auth-logo {
    margin-bottom: 32px;
}

.auth-logo img {
    height: 40px;
}

/* Card */
.auth-card {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--auth-text);
    margin: 0 0 8px 0;
}

.auth-header p {
    font-size: 14px;
    color: var(--auth-text-secondary);
    margin: 0;
}

/* Fields */
.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--auth-text);
    margin-bottom: 6px;
}

.auth-field .form-control {
    height: 44px;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    font-size: 15px;
    padding: 0 12px;
}

.auth-field .form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(63, 133, 255, 0.1);
}

.auth-field .form-control::placeholder {
    color: #9ca3af;
}

/* Password */
.auth-password-wrapper {
    position: relative;
}

.auth-password-wrapper .form-control {
    padding-right: 44px;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--auth-text-secondary);
    cursor: pointer;
    padding: 0;
}

.auth-password-toggle:hover {
    color: var(--auth-text);
}

/* Forgot link */
.auth-forgot {
    font-size: 13px;
    color: var(--auth-primary);
    text-decoration: none;
}

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

/* Button */
.auth-btn-primary {
    height: 44px;
    background: var(--auth-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
}

.auth-btn-primary:hover {
    background: var(--auth-primary-hover);
    color: white;
}

.auth-btn-primary:disabled {
    opacity: 0.7;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--auth-border);
    font-size: 14px;
}

.auth-footer span {
    color: var(--auth-text-secondary);
}

.auth-footer a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

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

/* Bottom text */
.auth-bottom-text {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.auth-bottom-text a {
    color: var(--auth-text-secondary);
    text-decoration: none;
}

.auth-bottom-text a:hover {
    color: var(--auth-primary);
}

.auth-bottom-text span {
    color: var(--auth-border);
}

/* Form check */
.auth-page .form-check-label {
    font-size: 14px;
    color: var(--auth-text-secondary);
}

/* Alert */
.auth-page .alert {
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-page {
        padding: 16px;
    }
    
    .auth-card {
        padding: 24px;
    }
}
