/* ============================================
   REGISTER PAGE SPECIFIC STYLES
   WiFiHapa - User Registration Styles
   ============================================ */
/* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Section */
.register-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 48px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .register-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .register-hero {
        padding: 1.5rem;
    }

    .register-hero h1 {
        font-size: 1.8rem;
    }
}

/* Benefit Badges */
.benefit-badge {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

body.dark .benefit-badge {
    background: rgba(13, 110, 253, 0.2);
}

/* Registration Tabs */
.register-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.register-tab {
    border: 1px solid #dee2e6;
    background: var(--card-bg, white);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    color: #5e6f7d;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.dark .register-tab {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.register-tab.active {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.register-tab:hover:not(.active) {
    background: #e4edff;
    border-color: #0d6efd;
}

body.dark .register-tab:hover:not(.active) {
    background: #2a3448;
}

/* Register Card */
.register-card {
    background: var(--card-bg, white);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    max-width: 800px;
    margin: 0 auto;
}

body.dark .register-card {
    background: var(--card-bg, #1e2538);
}

@media (max-width: 768px) {
    .register-card {
        padding: 1.5rem;
    }
}

/* Form Elements */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary, #0a2c3d);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    border: 1.5px solid #e9ecef;
    font-size: 1rem;
    background: var(--input-bg, white);
    color: var(--text-primary, #0a2c3d);
}

body.dark .form-control,
body.dark .form-select {
    background: var(--input-bg, #2d3748);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
    outline: none;
}

.form-text {
    font-size: 0.75rem;
    color: var(--text-secondary, #5e6f7d);
    margin-top: 0.3rem;
}

/* Input Group */
.input-group-text {
    border-radius: 20px 0 0 20px;
    background: var(--badge-light-bg, #f8fafd);
    border: 1.5px solid #e9ecef;
    border-right: none;
    color: var(--text-primary, #0a2c3d);
}

body.dark .input-group-text {
    background: var(--badge-light-bg, #2a3448);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.input-group .form-control {
    border-radius: 0 20px 20px 0;
}

/* Password Strength */
.password-strength {
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    margin-top: 0.5rem;
    overflow: hidden;
}

body.dark .password-strength {
    background: #2a3448;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: var(--transition, all 0.3s ease);
}

.password-strength-bar.weak {
    width: 33%;
    background: #dc3545;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ffc107;
}

.password-strength-bar.strong {
    width: 100%;
    background: #198754;
}

/* Router Feature Box */
.router-feature {
    background: var(--badge-light-bg, #f8fafd);
    border-radius: 24px;
    padding: 1rem;
    border-left: 6px solid #d4a11e;
}

body.dark .router-feature {
    background: var(--badge-light-bg, #2a3448);
}

/* Submit Button */
.btn-register-submit {
    background: #0d6efd;
    border: none;
    border-radius: 60px;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
}

.btn-register-submit:hover {
    background: #0b5ed7;
    transform: scale(0.98);
}

/* Form Check */
.form-check-input {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #5e6f7d);
}

/* Success Modal */
.modal-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-success-content {
    background: var(--card-bg, white);
    max-width: 400px;
    width: 90%;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

body.dark .modal-success-content {
    background: var(--card-bg, #1e2538);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .register-tabs {
        gap: 0.5rem;
    }

    .register-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-register-submit {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .register-tab {
        flex: 1;
        justify-content: center;
    }

    .register-card {
        padding: 1.2rem;
    }

    .form-control,
    .form-select {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}


        /* Toast Notification Styles */
        .toast-notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            z-index: 10000;
            min-width: 300px;
            max-width: 400px;
            animation: slideInRight 0.3s ease;
        }
        
        body.dark .toast-notification {
            background: #1e2538;
            color: white;
        }
        
        .toast-content {
            display: flex;
            align-items: center;
            padding: 15px;
            gap: 12px;
        }
        
        .toast-icon i {
            font-size: 20px;
        }
        
        .toast-message {
            flex: 1;
            font-size: 14px;
        }
        
        .toast-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #999;
        }
        
        .toast-progress {
            height: 3px;
            background: #e9ecef;
            border-radius: 0 0 12px 12px;
            overflow: hidden;
        }
        
        .toast-progress-bar {
            height: 100%;
            width: 100%;
            background: #0d6efd;
            animation: progress 5s linear forwards;
        }
        
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes progress {
            from { width: 100%; }
            to { width: 0%; }
        }
        
        /* Modal Styles */
        .modal-verification {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10001;
            align-items: center;
            justify-content: center;
        }
        
        .modal-verification-content {
            background: white;
            max-width: 450px;
            width: 90%;
            border-radius: 24px;
            padding: 30px;
            text-align: center;
        }
        
        body.dark .modal-verification-content {
            background: #1e2538;
        }
        
        .verification-code-input {
            font-size: 2rem;
            letter-spacing: 10px;
            text-align: center;
            font-weight: bold;
        }
        
        .resend-timer {
            color: #666;
            font-size: 12px;
            margin-top: 10px;
        }
    