/* Register page styles */

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    width: 100%;
    max-width: 400px;
    padding: 3rem 2rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    background: var(--surface-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-small);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
    background: var(--surface-primary);
}

.form-control.is-invalid {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
}

.form-control.is-valid {
    border-color: var(--success-green);
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border: none;
    border-radius: var(--border-radius-medium);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-large);
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--secondary-blue) 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
}

.auth-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.alert {
    border: none;
    border-radius: var(--border-radius-medium);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-danger {
    background: rgba(255, 59, 48, 0.1);
    color: var(--error-red);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.d-none {
    display: none !important;
}

.password-requirements {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--surface-secondary);
    border-radius: var(--border-radius-medium);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1rem;
}

.password-requirements li {
    margin-bottom: 0.25rem;
}

.password-requirements li.valid {
    color: var(--success-green);
}

.password-requirements li.invalid {
    color: var(--error-red);
}

@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
}
