:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --warning-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    padding: 100px 0;
    margin-top: -20px;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.stat-card {
    border-radius: 15px;
    border: none;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Form Controls */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Steps */
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Statistics */
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Avatar */
.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto;
}

/* Captcha */
.captcha-display {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Quiz Styles */
.quiz-card {
    border-left: 4px solid var(--primary-color);
}

.quiz-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--warning-color);
}

.question-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.option-label {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.option-input:checked + .option-label {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
}

/* Table Styles */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    border: none;
    padding: 15px;
}

.table tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    color: white;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stat-card .display-6 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Progress Bars */
.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    background: linear-gradient(90deg, #4361ee 0%, #3f37c9 100%);
    border-radius: 5px;
}



/* Add to your main CSS file */
.permanent-show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
}

/* Prevent any hiding animations */
[class*="fade"],
[class*="hide"],
[class*="d-none"] {
    transition-duration: 0s !important;
}

/* Specifically target problematic elements */
#quizTimer,
.profile-info,
.verification-status,
.identity-verification,
.payment-methods,
.missions {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}


.permanent-show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix for quiz navigation */
.question-box {
    transition: none !important;
    animation: none !important;
}

.question-box[style*="display: none"] {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}