.rate-limited input,
.rate-limited .register-btn {
    pointer-events: none;
    opacity: 0.5;
    user-select: none;
}

.rate-limited .password-toggle {
    display: none;
}

.rate-limit-locked {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.rate-limit-locked .lock-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rate-limit-locked .lock-icon i {
    font-size: 24px;
    color: #f59e0b;
}

.rate-limit-locked .locked-title {
    font-size: 16px;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 6px;
}

.rate-limit-locked .locked-message {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.registrations-closed {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.registrations-closed .closed-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.registrations-closed .closed-icon i {
    font-size: 24px;
    color: #ef4444;
}

.registrations-closed .closed-title {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 6px;
}

.registrations-closed .closed-message {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-locked input,
.form-locked .register-btn {
    pointer-events: none !important;
    opacity: 0.5 !important;
    user-select: none !important;
}

.form-locked .password-toggle {
    display: none !important;
}

.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    pointer-events: all;
    cursor: default;
}

.maintenance-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.maintenance-modal {
    background: var(--surface, #141414);
    border: 1px solid var(--border, #2a2a2a);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    padding: 40px 32px;
}

.maintenance-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.maintenance-icon i {
    font-size: 32px;
    color: #f59e0b;
}

.maintenance-modal h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text, #e5e5e5);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.maintenance-modal p {
    font-size: 14px;
    color: var(--text-secondary, #a0a0a0);
    line-height: 1.6;
    margin-bottom: 24px;
}

.maintenance-modal .maintenance-sub {
    font-size: 12px;
    color: var(--text-muted, #666);
    line-height: 1.5;
}

.website-closed .register-card {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.input-icon i.icon-focused {
    color: var(--text) !important;
}

input.match-success {
    border-color: var(--success) !important;
}

input.match-error {
    border-color: var(--danger) !important;
}

.match-text-success {
    color: var(--success);
}

.match-text-danger {
    color: var(--danger);
}

.input-icon i.icon-focused {
    color: var(--text) !important;
}

.password-strength-bar.strength-danger {
    background: var(--danger);
}

.password-strength-bar.strength-warning {
    background: #f59e0b;
}

.password-strength-bar.strength-info {
    background: #3b82f6;
}

.password-strength-bar.strength-success {
    background: var(--success);
}

.error-alert.fade-out {
    opacity: 0;
}