/* Register Page Styles - Premium Design */

/* -----------------------------------------------------------------------------
   1. Layout & Background
   ----------------------------------------------------------------------------- */
.main-content {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.main-content::before,
.main-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.main-content::before {
    width: 25rem;
    height: 25rem;
    background: var(--accent-primary);
    top: -6.25rem;
    left: -6.25rem;
    animation: float 10s ease-in-out infinite;
}

.main-content::after {
    width: 18.75rem;
    height: 18.75rem;
    background: var(--accent-secondary);
    bottom: -3.125rem;
    right: -3.125rem;
    animation: float 12s ease-in-out infinite reverse;
}

.container {
    width: 100%;
    max-width: min(85vw, 50rem);
    position: relative;
    z-index: 1;
}

/* -----------------------------------------------------------------------------
   2. Auth Card
   ----------------------------------------------------------------------------- */
.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--spacing-xl);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.auth-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* -----------------------------------------------------------------------------
   3. Progress Bar - Modern Design
   ----------------------------------------------------------------------------- */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-sm);
}

.progress-step {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.progress-step.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 118, 110, 0.4);
    transform: scale(1.1);
}

.progress-line {
    flex: 1;
    height: 0.15rem;
    background: var(--border-color);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.progress-line.active {
    background: var(--accent-primary);
}

/* -----------------------------------------------------------------------------
   4. Terms Content
   ----------------------------------------------------------------------------- */
.terms-content {
    background: rgba(255, 255, 255, 0.3);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .terms-content {
    background: rgba(15, 23, 42, 0.3);
}

.checkbox-group {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.checkbox-group:last-child {
    margin-bottom: 0;
}

.checkbox-group:hover {
    background: rgba(15, 118, 110, 0.05);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--accent-primary);
}

.checkbox-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.text-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.text-link:hover {
    text-decoration: underline;
    color: var(--accent-secondary);
}

.text-link i {
    font-size: 0.75em;
    margin-left: 0.2rem;
    opacity: 0.7;
}

.required-mark {
    color: var(--error);
    font-weight: 700;
    margin-left: 0.15rem;
}

/* -----------------------------------------------------------------------------
   5. Form Elements
   ----------------------------------------------------------------------------- */
.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    border: none;
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.auth-submit-btn:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.auth-submit-btn i {
    font-size: 0.875rem;
}

/* -----------------------------------------------------------------------------
   6. Auth Links
   ----------------------------------------------------------------------------- */
.auth-links {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.auth-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--accent-primary);
}

.auth-link i {
    font-size: 0.875em;
}

/* -----------------------------------------------------------------------------
   7. Email Verification Page Specific
   ----------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.info-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: var(--spacing-xs);
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.info-link i {
    font-size: 0.875em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-alpha);
}

.form-message {
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

.form-message.available {
    color: var(--success);
}

.form-message.unavailable {
    color: var(--error);
}

.form-error {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 500;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
}

.success-message i {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.success-message p {
    color: var(--text-primary);
    margin: var(--spacing-xs) 0;
    font-size: 0.95rem;
}

.success-message strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.text-small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* -----------------------------------------------------------------------------
   8. Personal Info Page Specific
   ----------------------------------------------------------------------------- */
.form-row {
    display: flex;
    gap: var(--spacing-md);
}

.form-group.half {
    flex: 1;
}

.required {
    color: var(--error);
    font-weight: 700;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
    line-height: 1.4;
}

.username-display {
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

/* -----------------------------------------------------------------------------
   9. Academic Info Page Specific
   ----------------------------------------------------------------------------- */
.form-group {
    position: relative;
}

.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 0.125rem);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    max-height: 12.5rem;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.suggestion-item {
    padding: 0.625rem var(--spacing-md);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--accent-primary);
    color: white;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.notification-box {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.notification-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #92400e;
}

[data-theme="dark"] .notification-box.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.notification-box.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: #991b1b;
}

[data-theme="dark"] .notification-box.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.notification-box strong {
    font-weight: 700;
}

/* -----------------------------------------------------------------------------
   10. Password Page Specific
   ----------------------------------------------------------------------------- */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--accent-primary);
}

.toggle-password i {
    font-size: 1rem;
}

.password-strength {
    margin-top: var(--spacing-xs);
}

.strength-bar {
    width: 100%;
    height: 0.25rem;
    background: var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.match-indicator {
    margin-top: var(--spacing-xs);
    color: var(--success);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
}

.password-requirements {
    background: rgba(255, 255, 255, 0.3);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-md);
}

[data-theme="dark"] .password-requirements {
    background: rgba(15, 23, 42, 0.3);
}

.password-requirements h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.password-requirements li:last-child {
    margin-bottom: 0;
}

.password-requirements li:before {
    content: '✗';
    color: var(--error);
    font-weight: 700;
    font-size: 1rem;
}

.password-requirements li.valid {
    color: var(--text-primary);
}

.password-requirements li.valid:before {
    content: '✓';
    color: var(--success);
}

/* -----------------------------------------------------------------------------
   11. Verification Page Specific
   ----------------------------------------------------------------------------- */
.verification-info {
    margin-bottom: var(--spacing-lg);
}

.info-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

[data-theme="dark"] .info-card {
    background: rgba(15, 23, 42, 0.4);
}

.info-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-card strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.benefits-section,
.requirements-section {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
}

[data-theme="dark"] .benefits-section,
[data-theme="dark"] .requirements-section {
    background: rgba(15, 23, 42, 0.3);
}

.benefits-section h3,
.requirements-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.benefits-section h3 i,
.requirements-section h3 i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:hover {
    padding-left: var(--spacing-xs);
    color: var(--accent-primary);
}

.benefits-list li i {
    color: var(--success);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefits-list li strong {
    font-weight: 700;
    color: var(--accent-primary);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.requirement-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

[data-theme="dark"] .requirement-item {
    background: rgba(15, 23, 42, 0.4);
}

.requirement-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.requirement-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.requirement-item strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.requirement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.note-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

[data-theme="dark"] .note-box {
    background: rgba(59, 130, 246, 0.15);
}

.note-box i {
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.note-box strong {
    font-weight: 700;
    color: var(--text-primary);
}

.note-box div {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.verification-checkbox {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

[data-theme="dark"] .verification-checkbox {
    background: rgba(15, 23, 42, 0.3);
}

.verification-checkbox:hover {
    background: rgba(15, 118, 110, 0.1);
    border-color: var(--accent-primary);
}

.verification-checkbox .checkbox-label {
    font-size: 0.95rem;
    font-weight: 500;
}

/* -----------------------------------------------------------------------------
   12. Complete Page Specific
   ----------------------------------------------------------------------------- */
.complete-container {
    text-align: center;
    padding: var(--spacing-md) 0;
    animation: fadeInUp 0.8s ease-out;
}

.complete-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 2rem rgba(16, 185, 129, 0.4);
    animation: scaleInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.complete-icon i {
    font-size: 2rem;
    color: white;
}

.complete-title {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.complete-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.complete-message strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.complete-info-box {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

[data-theme="dark"] .complete-info-box {
    background: rgba(15, 23, 42, 0.4);
}

.complete-info-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--accent-primary);
}

.complete-info-header i {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

.complete-info-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.complete-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.complete-info-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.complete-info-list li:last-child {
    border-bottom: none;
}

.complete-info-list li:hover {
    padding-left: var(--spacing-xs);
    color: var(--accent-primary);
}

.complete-info-list li i {
    color: var(--success);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.complete-info-list li strong {
    color: var(--accent-primary);
    font-weight: 700;
}

.complete-email-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1.2s ease-out;
}

[data-theme="dark"] .complete-email-notice {
    background: rgba(59, 130, 246, 0.15);
}

.complete-email-notice i {
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.complete-email-notice p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.complete-action-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    animation: fadeInUp 1.4s ease-out;
}

.complete-action-buttons .auth-submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

/* -----------------------------------------------------------------------------
   13. Animations
   ----------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0.5rem 2rem rgba(15, 118, 110, 0.4);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(1rem, 1rem);
    }
}

@keyframes scaleInBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* -----------------------------------------------------------------------------
   14. Responsive
   ----------------------------------------------------------------------------- */
@media (max-width: 48rem) {
    .auth-card {
        padding: var(--spacing-lg);
    }

    .progress-bar {
        padding: 0;
    }

    .progress-step {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }

    .progress-line {
        margin: 0 0.25rem;
    }

    .checkbox-text {
        font-size: 0.85rem;
    }

    .terms-content {
        padding: var(--spacing-sm);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        width: 100%;
    }

    .requirement-item {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .requirement-item i {
        font-size: 1.25rem;
    }

    .benefits-section h3,
    .requirements-section h3 {
        font-size: 1.1rem;
    }

    .info-card h2 {
        font-size: 1.25rem;
    }

    .info-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .info-icon i {
        font-size: 1.75rem;
    }

    .complete-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .complete-icon i {
        font-size: 1.75rem;
    }

    .complete-title {
        font-size: 1.375rem;
    }

    .complete-message {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .complete-info-header h3 {
        font-size: 1rem;
    }

    .complete-info-list li {
        font-size: 0.85rem;
    }

    .complete-email-notice {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xs);
    }

    .complete-action-buttons .auth-submit-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 30rem) {
    .main-content {
        padding: var(--spacing-md);
    }

    .progress-step {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
}