:root {
    --primary: #6C63FF;
    --primary-dark: #554FD8;
    --secondary: #FF6584;
    --success: #36D399;
    --danger: #FF5A5F;
    --warning: #FFB347;
    --info: #4ECDC4;
    --light: #F8FAFC;
    --dark: #1E293B;
    --gray: #64748B;
    --light-gray: #E2E8F0;
    --border-radius: 16px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-primary: linear-gradient(135deg, #6C63FF, #554FD8);
    --gradient-success: linear-gradient(135deg, #36D399, #0BA360);
    --gradient-danger: linear-gradient(135deg, #FF5A5F, #D43F3F);
    --gradient-warning: linear-gradient(135deg, #FFB347, #FF7F00);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(108, 99, 255, 0.1);
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(108, 99, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.user-progress {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.progress-item {
    text-align: center;
    background: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 120px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.progress-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.progress-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.progress-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.progress-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 600;
}

/* Main Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1100px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Card */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Side Panel */
.side-panel .card {
    height: fit-content;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--light-gray);
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.stat-value {
    font-weight: 800;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
}

.timer-container {
    background: linear-gradient(135deg, #6C63FF10 0%, #554FD810 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    border: 2px solid var(--primary);
}

.timer {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Poppins', monospace;
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(108, 99, 255, 0.2);
}

.timer-label {
    font-size: 16px;
    color: var(--gray);
    margin-top: 10px;
    font-weight: 600;
}

.streak-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, #FFB34710 0%, #FF7F0010 100%);
    padding: 15px;
    border-radius: var(--border-radius);
}

.streak-fire {
    color: var(--warning);
    font-size: 24px;
    animation: pulse 1.5s infinite;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    background: var(--light);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 8px 20px rgba(54, 211, 153, 0.3);
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 90, 95, 0.3);
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 179, 71, 0.3);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 14px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px dashed var(--light-gray);
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* State: Welcome */
.welcome-state {
    text-align: center;
}

.welcome-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.welcome-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 50px;
    margin: 20px 0;
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.3);
    animation: float 4s ease-in-out infinite;
}

.welcome-text {
    font-size: 18px;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.topic-selection, .difficulty-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.topic-btn, .difficulty-btn {
    padding: 25px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.topic-btn:hover, .difficulty-btn:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.topic-btn.selected, .difficulty-btn.selected {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.topic-icon, .difficulty-icon {
    font-size: 32px;
}

/* Question Count Selection */
.question-count-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.count-btn {
    padding: 25px 15px;
    border: 3px solid var(--light-gray);
    border-radius: var(--border-radius);
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.count-btn:hover {
    border-color: var(--info);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(78, 205, 196, 0.3);
}

.count-btn.selected {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.4);
    transform: scale(1.1);
}

.count-number {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.count-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

/* Question Type Selection */
.type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.type-btn {
    padding: 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    background: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-align: center;
}

.type-btn:hover {
    border-color: var(--info);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.type-btn.selected {
    background: linear-gradient(135deg, #4ECDC4, #44A9A3);
    color: white;
    border-color: var(--info);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

/* State: Quiz */
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.question-counter {
    font-size: 18px;
    color: var(--gray);
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--light-gray);
}

.question-points {
    background: var(--gradient-warning);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
}

.question-text {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.4;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

.options-container {
    display: grid;
    gap: 18px;
    margin-bottom: 40px;
}

.option {
    padding: 22px 25px;
    border: 3px solid var(--light-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.option:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #6C63FF05 0%, #554FD805 100%);
    transform: translateX(10px);
}

.option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #6C63FF10 0%, #554FD810 100%);
}

.option.correct {
    border-color: var(--success);
    background: linear-gradient(135deg, #36D39910 0%, #0BA36010 100%);
}

.option.incorrect {
    border-color: var(--danger);
    background: linear-gradient(135deg, #FF5A5F10 0%, #D43F3F10 100%);
}

.option-letter {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.option.selected .option-letter {
    background: var(--gradient-primary);
    color: white;
}

.option.correct .option-letter {
    background: var(--gradient-success);
    color: white;
}

.option.incorrect .option-letter {
    background: var(--gradient-danger);
    color: white;
}

.question-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.question-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.question-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.question-dot.answered {
    background: var(--success);
    transform: scale(1.2);
}

.question-dot.current {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

/* State: Results */
.results-container {
    text-align: center;
}

.score-display {
    font-size: 100px;
    font-weight: 900;
    color: var(--primary) !important;
    margin: 20px 0;
    line-height: 1;
    text-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.performance-message {
    font-size: 28px;
    color: var(--gray);
    margin-bottom: 50px;
    font-weight: 700;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .results-stats {
        grid-template-columns: 1fr;
    }
}

.result-stat {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.result-stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.result-stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.result-stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 600;
}

.achievements-container {
    margin: 40px 0;
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.achievement:hover {
    transform: translateY(-10px);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 50%;
    font-size: 32px;
    color: var(--gray);
    border: 3px solid var(--light-gray);
    transition: var(--transition);
}

.achievement.unlocked .achievement-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.achievement-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray);
}

.achievement.unlocked .achievement-label {
    color: var(--primary);
    font-weight: 700;
}

/* State: Review */
.review-item {
    border-bottom: 2px dashed var(--light-gray);
    padding: 30px 0;
}

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

.review-question {
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.review-status {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
}

.review-status.correct {
    background: var(--gradient-success);
    color: white;
}

.review-status.incorrect {
    background: var(--gradient-danger);
    color: white;
}

.review-explanation {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    font-size: 16px;
    border-left: 5px solid var(--primary);
}

.review-explanation strong {
    color: var(--primary);
}

/* XP and Level System */
.xp-bar-container {
    margin: 20px 0;
}

.xp-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--gray);
}

.xp-bar {
    height: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
}

.xp-progress {
    height: 100%;
    background: var(--gradient-warning);
    border-radius: 6px;
    transition: width 1s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .user-progress {
        justify-content: center;
        gap: 15px;
    }
    
    .progress-item {
        min-width: 100px;
        padding: 12px 15px;
    }
    
    .progress-value {
        font-size: 24px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .question-text {
        font-size: 22px;
    }
    
    .score-display {
        font-size: 70px;
    }
    
    .timer {
        font-size: 28px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes confetti {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(1000px) rotate(360deg); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

.confetti {
    position: fixed;
    width: 15px;
    height: 15px;
    background: var(--primary);
    top: -20px;
    animation: confetti 5s linear forwards;
    z-index: 1000;
    border-radius: 50%;
}

.bounce {
    animation: bounce 1s;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(400px);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 350px;
    border-left: 5px solid var(--success);
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-success);
    color: white;
    border-radius: 50%;
    font-size: 18px;
}

/* Progress Rings */
.progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring-circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring-bg {
    fill: none;
    stroke: var(--light-gray);
    stroke-width: 8;
}

.progress-ring-fg {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1s ease;
}

.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

/* History Styles */
.history-header {
    text-align: center;
    margin-bottom: 30px;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.history-stat {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.history-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.history-stat-value {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.history-stat-label {
    color: var(--gray);
    font-size: 14px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.history-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.history-item-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-item-number {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.history-item-date {
    color: var(--gray);
    font-size: 14px;
}

.history-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.history-item-score {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.history-item-grade {
    font-size: 20px;
    opacity: 0.7;
    margin-left: 5px;
}

.history-item-details {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
}

.history-item-details i {
    margin-right: 5px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
}