/* User Dashboard Styles */
.page-content {
    padding: 20px;
}

/* Welcome Header */
.welcome-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Dark theme welcome header */
body.dark-mode .welcome-header {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

/* Dark theme welcome title */
body.dark-mode .welcome-title {
    color: #e2e8f0;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* Dark theme welcome subtitle */
body.dark-mode .welcome-subtitle {
    color: #a0aec0;
}

.welcome-stats {
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dark theme stat item */
body.dark-mode .stat-item {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Dark theme stat label */
body.dark-mode .stat-label {
    color: #a0aec0;
}

/* Stats Cards */
.stats-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    border: none;
}

/* Dark theme stats card */
body.dark-mode .stats-card {
    background: #2d3748;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stats-card:nth-child(1) { animation-delay: 0.1s; }
.stats-card:nth-child(2) { animation-delay: 0.2s; }
.stats-card:nth-child(3) { animation-delay: 0.3s; }
.stats-card:nth-child(4) { animation-delay: 0.4s; }

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Dark theme stats card hover */
body.dark-mode .stats-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.stats-card-body {
    padding: 25px;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 5px 0;
}

/* Dark theme stats number */
body.dark-mode .stats-number {
    color: #e2e8f0;
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Dark theme stats label */
body.dark-mode .stats-label {
    color: #a0aec0;
}

/* Content Cards */
.content-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: none;
}

/* Dark theme content card */
body.dark-mode .content-card {
    background: #2d3748;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Dark theme content card hover */
body.dark-mode .content-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.content-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

/* Dark theme content card header */
body.dark-mode .content-card-header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: #e2e8f0;
    border-bottom-color: #4a5568;
}

.content-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.content-card-body {
    padding: 25px;
}

/* Learning Path Cards */
.learning-path-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Dark theme learning path card */
body.dark-mode .learning-path-card {
    background: #2d3748;
    border-color: #4a5568;
}

.learning-path-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

/* Dark theme learning path card hover */
body.dark-mode .learning-path-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.path-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.path-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.path-info {
    flex: 1;
}

.path-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 10px 0;
}

/* Dark theme path title */
body.dark-mode .path-title {
    color: #e2e8f0;
}

.path-title a {
    color: inherit;
    text-decoration: none;
}

.path-title a:hover {
    color: #667eea;
}

/* Dark theme path title hover */
body.dark-mode .path-title a:hover {
    color: #667eea;
}

.path-meta {
    margin: 0;
    margin-top: 8px;
}

.path-progress {
    margin-bottom: 20px;
    padding-top: 5px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.path-actions {
    margin-top: 5px;
}

/* Dark theme progress text */
body.dark-mode .progress-text {
    color: #a0aec0;
}

/* Quick Action Buttons */
.quick-action-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Dark theme quick action button */
body.dark-mode .quick-action-btn {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.quick-action-btn:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Dark theme quick action button hover */
body.dark-mode .quick-action-btn:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    color: #e2e8f0;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 5px 0;
}

/* Dark theme action content h6 */
body.dark-mode .action-content h6 {
    color: #e2e8f0;
}

.action-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Dark theme action content p */
body.dark-mode .action-content p {
    color: #a0aec0;
}

/* Activity List */
.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f8f9fa;
}

/* Dark theme activity item */
body.dark-mode .activity-item {
    border-bottom-color: #4a5568;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 5px 0;
}

/* Dark theme activity title */
body.dark-mode .activity-title {
    color: #e2e8f0;
}

.activity-time {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* Dark theme activity time */
body.dark-mode .activity-time {
    color: #a0aec0;
}

/* Goals List */
.goal-item {
    padding: 20px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

/* Dark theme goal item */
body.dark-mode .goal-item {
    border-bottom-color: #4a5568;
}

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

.goal-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    margin: 0 -15px;
}

/* Dark theme goal item hover */
body.dark-mode .goal-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.goal-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goal-content {
    flex: 1;
}

.goal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

/* Dark theme goal title */
body.dark-mode .goal-title {
    color: #e2e8f0;
}

.goal-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.goal-progress {
    margin-bottom: 10px;
}

.goal-progress .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

/* Dark theme goal progress */
body.dark-mode .goal-progress .progress {
    background-color: #4a5568;
}

.goal-progress .progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

.goal-progress small {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Goal badges */
.goal-item .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Goal status colors */
.goal-item .text-success {
    color: #28a745 !important;
}

.goal-item .text-warning {
    color: #ffc107 !important;
}

.goal-item .text-danger {
    color: #dc3545 !important;
}

.goal-item .text-info {
    color: #17a2b8 !important;
}

.goal-item .text-primary {
    color: #007bff !important;
}

.goal-item .text-secondary {
    color: #6c757d !important;
}

/* Dark theme goal item text colors */
body.dark-mode .goal-item .text-secondary {
    color: #a0aec0 !important;
}

body.dark-mode .goal-item .text-muted {
    color: #a0aec0 !important;
}

/* Activity item dark mode */
body.dark-mode .activity-item:hover {
    background-color: #374151;
}

/* Stats card dark mode enhancements */
body.dark-mode .stats-card-body {
    color: #e2e8f0;
}

body.dark-mode .stats-icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Badge dark mode */
body.dark-mode .badge {
    color: #fff;
}

body.dark-mode .badge.bg-secondary {
    background-color: #4a5568 !important;
    color: #e2e8f0 !important;
}

/* Button dark mode */
body.dark-mode .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

body.dark-mode .btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
    color: #fff;
}

body.dark-mode .btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

body.dark-mode .btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

/* Avatar and empty state dark mode */
body.dark-mode .avatar-title {
    background-color: #4a5568 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .text-center .text-muted {
    color: #a0aec0 !important;
}

/* Path meta badges dark mode */
body.dark-mode .path-meta .badge {
    color: #fff;
}

/* Content card body dark mode */
body.dark-mode .content-card-body {
    color: #e2e8f0;
}

/* Activity icon dark mode */
body.dark-mode .activity-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Goal icon dark mode */
body.dark-mode .goal-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-header .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .stats-card-body .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .stats-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .path-header {
        flex-direction: column;
        text-align: center;
    }

    .path-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .quick-action-btn {
        flex-direction: column;
        text-align: center;
    }

    .action-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ============================================
   GLOBAL DARK MODE STYLES
   ============================================ */
body.dark-mode {
    background-color: #181c24 !important;
    color: #e9ecef !important;
}

body.dark-mode .page-content {
    background-color: transparent;
}

body.dark-mode .card,
body.dark-mode .alert,
body.dark-mode .dropdown-menu {
    background-color: #232a36 !important;
    color: #e9ecef !important;
    border-color: #2d3748 !important;
}

body.dark-mode .card-title,
body.dark-mode .card-header,
body.dark-mode .card-body {
    color: #e9ecef !important;
}

body.dark-mode .text-muted {
    color: #a0aec0 !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2d3748 !important;
    color: #e9ecef !important;
    border-color: #4a5568 !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: #2d3748 !important;
    color: #e9ecef !important;
    border-color: #667eea !important;
}

body.dark-mode .table {
    color: #e9ecef !important;
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #2d3748 !important;
}

body.dark-mode .modal-content {
    background-color: #232a36 !important;
    color: #e9ecef !important;
}

body.dark-mode .modal-header,
body.dark-mode .modal-body,
body.dark-mode .modal-footer {
    border-color: #4a5568 !important;
}

body.dark-mode .list-group-item {
    background-color: #2d3748 !important;
    color: #e9ecef !important;
    border-color: #4a5568 !important;
}

body.dark-mode .nav-link {
    color: #e9ecef !important;
}

body.dark-mode .nav-link:hover {
    color: #667eea !important;
}

body.dark-mode .topbar-custom {
    background-color: #181c24 !important;
    border-bottom-color: #2d3748 !important;
}

body.dark-mode .startbar {
    background-color: #181c24 !important;
}

body.dark-mode .page-wrapper {
    background-color: #181c24 !important;
}

/* ============================================
   NOTIFICATION BADGE STYLES
   ============================================ */
.notification-badge {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    animation: notificationPulse 2s infinite, badgeEntrance 0.3s ease-out;
    z-index: 1000;
    transform: translate(-50%, -50%);
}

.notification-badge:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    transition: all 0.2s ease-in-out;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    }

    50% {
        box-shadow: 0 2px 12px rgba(220, 53, 69, 0.5);
    }

    100% {
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    }
}

@keyframes badgeEntrance {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

body.dark-mode .notification-badge {
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

body.dark-mode .notification-badge:hover {
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.6);
}

.nav-icon .icofont-bell-alt {
    transition: transform 0.2s ease-in-out;
}

.nav-icon:hover .icofont-bell-alt {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .notification-badge {
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        padding: 0.2rem 0.4rem;
    }
}

/* ============================================
   PASSWORD STRENGTH & FORM STYLES
   ============================================ */
.input-group .btn-outline-secondary {
    border-left: 0;
    border-color: #ced4da;
}

.input-group .btn-outline-secondary:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.input-group .btn-outline-secondary:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group .form-control:focus + .btn-outline-secondary {
    border-color: #86b7fe;
}

body.dark-mode .input-group .btn-outline-secondary {
    background-color: #495057;
    border-color: #6c757d;
    color: #fff;
}

body.dark-mode .input-group .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

.math-verification {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.math-question {
    font-size: 16px;
    color: #495057;
    text-align: center;
}

.math-question strong {
    color: #007bff;
    font-size: 18px;
}

.math-verification .input-group {
    margin-top: 10px;
}

.math-verification .btn-outline-secondary {
    border-left: 0;
}

body.dark-mode .math-verification {
    background-color: #343a40;
    border-color: #495057;
}

body.dark-mode .math-question {
    color: #e9ecef;
}

body.dark-mode .math-question strong {
    color: #66b3ff;
}

.password-strength-container {
    margin-top: 8px;
}

.password-strength-progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.password-strength-progress .progress-bar {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

.password-strength-percentage {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.password-strength-weak {
    color: #dc3545;
}

.password-strength-fair {
    color: #ffc107;
}

.password-strength-good {
    color: #17a2b8;
}

.password-strength-strong {
    color: #28a745;
}

.password-strength-percentage.password-strength-weak {
    color: #dc3545;
}

.password-strength-percentage.password-strength-fair {
    color: #ffc107;
}

.password-strength-percentage.password-strength-good {
    color: #17a2b8;
}

.password-strength-percentage.password-strength-strong {
    color: #28a745;
}

body.dark-mode .password-strength-weak {
    color: #ff6b6b;
}

body.dark-mode .password-strength-fair {
    color: #ffd93d;
}

body.dark-mode .password-strength-good {
    color: #4ecdc4;
}

body.dark-mode .password-strength-strong {
    color: #51cf66;
}

/* ============================================
   LEARNING PATHS INDEX STYLES
   ============================================ */
.content-card:nth-child(5) { animation-delay: 0.5s; }
.content-card:nth-child(6) { animation-delay: 0.6s; }

.learning-path-card {
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.learning-path-card .card-body {
    padding: 30px;
}

.card-img-top-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.learning-path-card:hover .card-img-top {
    transform: scale(1.05);
}

.learning-path-header {
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.3;
}

body.dark-mode .card-title {
    color: #e2e8f0;
}

.card-title i {
    color: #667eea;
    margin-right: 8px;
}

.learning-path-meta {
    margin-bottom: 15px;
}

.learning-path-meta .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 5px;
}

.learning-path-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

body.dark-mode .learning-path-stats {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-color: #4a5568;
}

.mt-auto {
    margin-top: auto;
    padding-top: 15px;
}

.btn-lg {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.stat-item {
    padding: 8px 5px;
    text-align: center;
}

.stat-item i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
}

.stat-item small {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .stat-item small {
    color: #e2e8f0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.empty-state {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-state i {
    opacity: 0.5;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

body.dark-mode .empty-state h3 {
    color: #e2e8f0;
}

.empty-state p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

body.dark-mode .empty-state p {
    color: #a0aec0;
}

.empty-state-action {
    margin-top: auto;
    padding-top: 1rem;
}

.empty-state .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.empty-state .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.search-input-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.search-input {
    padding-left: 45px;
    padding-right: 15px;
    height: 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

body.dark-mode .search-input {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.search-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

body.dark-mode .search-input::placeholder {
    color: #718096;
}

.form-select {
    height: 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

body.dark-mode .form-select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Learning Paths Index Responsive */
@media (max-width: 768px) {
    .welcome-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 20px;
    }

    .learning-path-stats {
        padding: 15px 10px;
    }

    .stat-item {
        padding: 5px;
    }

    .stat-item i {
        font-size: 1.4rem;
    }

    .stat-item small {
        font-size: 0.8rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .learning-path-meta .badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* ============================================
   FAVORITE QUESTIONS STYLES
   ============================================ */
.question-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.3s ease;
}

body.dark-mode .question-item {
    background: #2d3748;
    border-color: #4a5568;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

body.dark-mode .question-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.question-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.question-title a {
    color: #495057;
    font-weight: 600;
}

body.dark-mode .question-title a {
    color: #e2e8f0;
}

.question-title a:hover {
    color: #007bff;
}

.question-answer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #007bff;
}

body.dark-mode .question-answer {
    background: #374151;
    border-left-color: #667eea;
}

.question-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

body.dark-mode .question-actions {
    border-top-color: #4a5568;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.empty-state {
    padding: 40px 20px;
}

/* Favorite Questions Responsive */
@media (max-width: 768px) {
    .question-header {
        flex-direction: column;
        gap: 10px;
    }

    .question-actions .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons {
        width: 100%;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */
.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

body.dark-mode .avatar-circle {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.profile-stats {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

body.dark-mode .profile-stats {
    border-top-color: #4a5568;
}

.progress-stat h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.card {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.dark-mode .card {
    border-color: #4a5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .progress-stat h4 {
        font-size: 1.5rem;
    }

    .learning-path-card .card-body {
        padding: 25px 20px;
    }
}

