/**
 * Authentication Pages Styles
 */

.auth-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
}

.auth-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 2.5rem;
}

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

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

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

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.form-checkbox {
    margin-right: 0.5rem;
    cursor: pointer;
}

.auth-link {
    font-size: 0.875rem;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #4f46e5;
}

.auth-link-bold {
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link-bold:hover {
    color: #4f46e5;
}

.auth-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.auth-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.auth-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.auth-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn-primary {
    background: #6366f1;
    color: #ffffff;
}

.auth-btn-primary:hover:not(:disabled) {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Member Level Selection */
.member-level-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-level-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.member-level-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.member-level-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.member-level-card:hover .member-level-content {
    border-color: #c7d2fe;
    background: #f5f7ff;
}

.member-level-radio:checked + .member-level-content {
    border-color: #6366f1;
    background: #eef2ff;
}

.member-level-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 0.5rem;
    color: #6b7280;
}

.member-level-radio:checked + .member-level-content .member-level-icon {
    background: #6366f1;
    color: #ffffff;
}

.member-level-info {
    flex: 1;
}

.member-level-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.member-level-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
