/* Updated version - 2025-09-07-18:12 - Fixed achievement badges text colors - Cache bust v5 */

/* Index Header Styles - Added for new navbar */
.main-header {
    position: relative;
}

/* Navigation Bar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo .diji {
    color: #dc2626;
}

.nav-logo .pharma {
    color: #3b82f6;
}

.pill-icon-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-icon-nav .pill {
    width: 25px;
    height: 12px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.pill-icon-nav .pill-half {
    width: 50%;
    height: 100%;
}

.pill-icon-nav .pill-half.red {
    background: #dc2626;
}

.pill-icon-nav .pill-half.blue {
    background: #3b82f6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #64748b;
    transition: 0.3s;
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .diji {
    color: #dc2626;
    font-size: 2rem;
    font-weight: 800;
}

.footer-logo .pharma {
    color: #3b82f6;
    font-size: 2rem;
    font-weight: 800;
}

.pill-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-icon-footer .pill {
    width: 30px;
    height: 15px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
}

.pill-icon-footer .pill-half {
    width: 50%;
    height: 100%;
}

.pill-icon-footer .red {
    background: #dc2626;
}

.pill-icon-footer .blue {
    background: #3b82f6;
}

.footer-description {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e2e8f0;
}

.contact-item i {
    color: #fbbf24;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fbbf24;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
}

/* Sponsor Announcements Section */
.sponsors-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
}

.sponsors-header h3 {
    font-size: 1.8em;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.sponsors-header p {
    color: #64748b;
    font-size: 1.1em;
    margin: 0;
}

.sponsor-announcements {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sponsor-announcement-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.sponsor-announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.sponsor-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    text-align: center;
}

.sponsor-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.sponsor-name h4 {
    color: #1e293b;
    font-size: 1em;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.sponsor-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

.announcement-content {
    flex: 1;
    padding-right: 20px;
}

.announcement-content h4 {
    color: #1e293b;
    font-size: 1.3em;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.announcement-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.announcement-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.announcement-meta span {
    color: #94a3b8;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-meta i {
    color: #3b82f6;
}

.announcement-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.announcement-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
}

.announcement-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Sponsor Announcements */
@media (max-width: 768px) {
    .sponsor-announcement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .announcement-content {
        padding-right: 0;
    }
    
    .announcement-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

/* Badges and Certificates content styling - Only for profile section, not points section */
.achievement-badge, 
.certificate-item {
    background: var(--gradient-teal) !important;
    color: white !important;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.achievement-badge h4,
.certificate-item h4 {
    color: white !important;
    margin-bottom: 8px;
}

.achievement-badge p,
.certificate-item p {
    color: rgba(255,255,255,0.9) !important;
    margin: 0;
}

.achievement-badge .badge-icon,
.certificate-item .cert-icon {
    color: #FFD700 !important;
    margin-right: 8px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Header Styles - Same as profile.css */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.8em;
    font-weight: bold;
}

.logo-text .diji {
    color: #dc2626;
}

.logo-text .pharma {
    color: #60a5fa;
}

.pill-small {
    width: 30px;
    height: 12px;
    border-radius: 6px;
    display: flex;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pill-half-small {
    flex: 1;
    height: 100%;
}

.pill-half-small.red {
    background: #dc2626;
    border-radius: 6px 0 0 6px;
}

.pill-half-small.blue {
    background: #3b82f6;
    border-radius: 0 6px 6px 0;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

/* User Actions - Same as profile.css */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Notification Dropdown Styles */
.notifications {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: #334155;
    width: 380px;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 1001;
    overflow: hidden;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
}

.notification-header h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mark-all-read {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mark-all-read:hover {
    background: rgba(255, 255, 255, 0.25);
}

.notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-item.unread {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-left: 4px solid #3b82f6;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 8px;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9em;
    flex-shrink: 0;
}

.notification-icon.education {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification-icon.quiz {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.notification-icon.reward {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.notification-icon.certificate {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.notification-icon.campaign {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.notification-icon.system {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.notification-icon.leaderboard {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.notification-icon.reminder {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.3;
}

.notification-content p {
    margin: 0 0 8px 0;
    color: #6b7280;
    font-size: 0.85em;
    line-height: 1.4;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.notification-time {
    color: #9ca3af;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notification-type {
    background: #f3f4f6;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 500;
}

.notification-item.unread .notification-type {
    background: #dbeafe;
    color: #1e3a8a;
}

.notification-action {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-action:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.notification-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.view-all-notifications {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-all-notifications:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-1px);
}

/* Scrollbar for notification list */
.notification-list::-webkit-scrollbar {
    width: 4px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .notification-dropdown {
        width: 320px;
        right: -20px;
    }
    
    .notification-item {
        padding: 12px 15px;
    }
    
    .notification-header {
        padding: 15px;
    }
    
    .notification-header h3 {
        font-size: 1em;
    }
    
    .mark-all-read {
        font-size: 0.75em;
        padding: 5px 8px;
    }
}

.badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc2626;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    color: #334155;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #334155;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f1f5f9;
}

.user-dropdown hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 5px 0;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    box-sizing: border-box;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h1 {
    color: #1e3a8a;
    font-size: 2.2em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1em;
}

/* Shift Info - Kalfa specific */
.shift-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-shift {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #10b981;
}

.current-shift i {
    color: #10b981;
    font-size: 1.2em;
}

.shift-status {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.shift-status.active {
    background: #dcfce7;
    color: #16a34a;
}

/* Stats Grid - Similar to profile but with Kalfa-specific colors */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:nth-child(1) { border-left-color: #10b981; }
.stat-card:nth-child(2) { border-left-color: #3b82f6; }
.stat-card:nth-child(3) { border-left-color: #f59e0b; }
.stat-card:nth-child(4) { border-left-color: #8b5cf6; }

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
}

.stat-card:nth-child(1) .stat-icon { background: #10b981; }
.stat-card:nth-child(2) .stat-icon { background: #3b82f6; }
.stat-card:nth-child(3) .stat-icon { background: #f59e0b; }
.stat-card:nth-child(4) .stat-icon { background: #8b5cf6; }

.stat-content h3 {
    font-size: 2.2em;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-content p {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.85em;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
}

.stat-change.positive {
    background: #dcfce7;
    color: #16a34a;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.card-header h3 {
    color: #1e293b;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Task Progress - Kalfa specific */
.task-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-left: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Tasks List */
.tasks-list {
    padding: 0 25px 25px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.task-checkbox {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8em;
}

.task-item.completed .task-checkbox {
    background: #10b981;
}

.task-item.pending .task-checkbox {
    background: #f59e0b;
}

.task-content p {
    color: #334155;
    font-weight: 500;
    margin-bottom: 5px;
}

.task-content small {
    color: #64748b;
    font-size: 0.85em;
}

.task-actions {
    margin-top: 10px;
}

.watch-video-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.watch-video-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Video Player Container */
.video-player-container {
    margin-top: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-header {
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    border-bottom: 1px solid #e2e8f0;
}

.video-header h4 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
    line-height: 1.4;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Activity List - Similar to profile but adjusted for Kalfa */
.activity-list {
    padding: 0 25px 25px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.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: 0.9em;
}

.activity-icon.consultation { background: #10b981; }
.activity-icon.education { background: #3b82f6; }
.activity-icon.quiz { background: #8b5cf6; }
.activity-icon.task { background: #f59e0b; }

.activity-content p {
    margin-bottom: 5px;
    color: #334155;
}

.activity-content small {
    color: #64748b;
    font-size: 0.85em;
}

/* Tips Container - Kalfa specific */
.tips-container {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.tip-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1em;
    flex-shrink: 0;
}

.tip-content h4 {
    color: #1e293b;
    margin-bottom: 8px;
}

.tip-content p {
    color: #64748b;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Chart Container */
.chart-container {
    padding: 0 25px 25px;
    height: 300px;
}

/* Tasks Section */
.tasks-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.task-stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.task-stat-card:nth-child(1) { 
    border-left-color: #10b981; 
}

.task-stat-card:nth-child(2) { 
    border-left-color: #3b82f6; 
}

.task-stat-card:nth-child(3) { 
    border-left-color: #f59e0b; 
}

.task-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.task-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
    flex-shrink: 0;
}

.task-stat-card:nth-child(1) .task-stat-icon { 
    background: linear-gradient(135deg, #10b981, #059669); 
}

.task-stat-card:nth-child(2) .task-stat-icon { 
    background: linear-gradient(135deg, #3b82f6, #2563eb); 
}

.task-stat-card:nth-child(3) .task-stat-icon { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
}

.task-stat-content h3 {
    font-size: 2.2em;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 5px;
}

.task-stat-content p {
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.task-stat-content .task-progress {
    font-size: 0.85em;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
}

.task-stat-card:nth-child(1) .task-progress {
    background: #dcfce7;
    color: #16a34a;
}

.task-stat-card:nth-child(2) .task-progress {
    background: #dbeafe;
    color: #2563eb;
}

.task-stat-card:nth-child(3) .task-progress {
    background: #fef3c7;
    color: #d97706;
}

.tasks-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.task-tab-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.task-tab-btn.active {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

.task-tab-content {
    display: none;
}

.task-tab-content.active {
    display: block;
}

/* Completed Tasks Section */
.completed-summary {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid #10b981;
}

.completed-summary h3 {
    color: #1e293b;
    font-size: 1.4em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.completed-summary h3::before {
    content: "✅";
    font-size: 1.2em;
}

.completed-summary p {
    color: #64748b;
    font-size: 1.1em;
    margin: 0;
}

.completed-summary strong {
    color: #10b981;
    font-weight: 600;
}

/* Completed Task List */
.completed-task-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.completed-task-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #dcfce7;
}

.completed-task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #10b981;
}

.completed-task-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    flex-shrink: 0;
    position: relative;
}

.completed-task-icon::after {
    content: "✓";
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #16a34a;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    border: 2px solid white;
}

.completed-task-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.completed-task-info h4 {
    color: #1e293b;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.completed-task-info p {
    color: #64748b;
    font-size: 0.95em;
    margin: 0;
}

.earned-points {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.earned-points::before {
    content: "🎯";
    font-size: 0.9em;
}

/* Completed tasks responsive design */
@media (max-width: 768px) {
    .completed-task-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .completed-task-icon {
        margin-bottom: 10px;
    }
    
    .completed-task-info {
        align-items: center;
    }
    
    .earned-points {
        align-self: center;
    }
}

/* Task Grid */
.task-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.task-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.task-category h3 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 25px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-list {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.task-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
}

.task-card.completed {
    background: #f0fdf4;
    border-color: #10b981;
}

.task-card.in-progress {
    background: #fef3c7;
    border-color: #f59e0b;
}

.task-card.pending {
    background: #fef2f2;
    border-color: #ef4444;
}

.task-status {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
}

.task-card.completed .task-status {
    background: #10b981;
}

.task-card.in-progress .task-status {
    background: #f59e0b;
}

.task-card.pending .task-status {
    background: #ef4444;
}

.task-info {
    flex: 1;
}

.task-info h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.task-info p {
    color: #64748b;
    margin-bottom: 10px;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    color: #64748b;
}

.priority {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

.priority.high {
    background: #fecaca;
    color: #dc2626;
}

.priority.medium {
    background: #fef3c7;
    color: #d97706;
}

.priority.low {
    background: #dcfce7;
    color: #16a34a;
}

/* Education Section - Kalfa specific */
/* Education Tabs */
.education-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.edu-tab-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95em;
}

.edu-tab-btn:hover {
    border-color: #10b981;
    background: #f0fdf4;
    color: #059669;
    transform: translateY(-1px);
}

.edu-tab-btn.active {
    border-color: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.edu-tab-btn i {
    font-size: 0.9em;
}

/* Education Tab Content */
.edu-tab-content {
    display: none;
}

.edu-tab-content.active {
    display: block;
}

.education-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.edu-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 180px;
}

.edu-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
}

.edu-stat-content h3 {
    color: #1e293b;
    font-size: 1.8em;
    margin-bottom: 5px;
}

.edu-stat-content p {
    color: #64748b;
    font-weight: 500;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.education-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.education-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.education-card.current .education-badge {
    background: #fef3c7;
    color: #d97706;
}

.education-card.completed .education-badge {
    background: #dcfce7;
    color: #16a34a;
}

.education-image {
    height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
}

.education-content {
    padding: 25px;
}

.education-content h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.education-content p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Education Progress */
.education-progress {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #64748b;
}

/* Education Meta */
.education-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #64748b;
}

.education-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Completion Info */
.completion-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #64748b;
}

.completion-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Education Buttons */
.continue-btn,
.start-btn,
.certificate-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.continue-btn {
    background: #f59e0b;
    color: white;
}

.continue-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.start-btn {
    background: #10b981;
    color: white;
}

.start-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.certificate-btn {
    background: #8b5cf6;
    color: white;
}

.certificate-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

/* Certificate Cards for Education Section */
.certificate-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #10b981;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate-image {
    height: 120px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    position: relative;
}

.certificate-image::after {
    content: "✓";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #16a34a;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4em;
    font-weight: bold;
    border: 2px solid white;
}

.certificate-content {
    padding: 25px;
}

.certificate-content h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: 600;
}

.certificate-content p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.certificate-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85em;
    color: #64748b;
}

.certificate-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.certificate-actions {
    display: flex;
    gap: 10px;
}

.download-btn, .share-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9em;
}

.download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.download-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

.share-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.share-btn:hover {
    background: #e2e8f0;
    color: #334155;
    transform: translateY(-1px);
}

/* Quiz & Simulation Education Tab */
.quiz-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3b82f6;
}

.quiz-header h3 {
    color: #1e293b;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quiz-header h3::before {
    content: "🧠";
    font-size: 1.2em;
}

.quiz-header p {
    color: #64748b;
    font-size: 1em;
    margin: 0;
}

/* Quiz Grid Layout */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* Quiz Cards */
.quiz-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
}

/* Quiz Header Card */
.quiz-header-card {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.quiz-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    flex-shrink: 0;
    position: relative;
}

/* Quiz icon colors based on type */
.quiz-card:nth-child(odd) .quiz-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.quiz-card:nth-child(even) .quiz-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.quiz-icon::after {
    content: "✓";
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #16a34a;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    border: 2px solid white;
}

/* Quiz Info */
.quiz-info {
    flex: 1;
}

.quiz-info h4 {
    color: #1e293b;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.quiz-info p {
    color: #64748b;
    font-size: 0.9em;
    margin: 0;
}

/* Quiz Score */
.quiz-score {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.quiz-score .score {
    font-size: 1.3em;
    font-weight: bold;
    color: #1e293b;
}

.quiz-score .percentage {
    font-size: 1.1em;
    font-weight: 600;
    color: #10b981;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Quiz Details */
.quiz-details {
    padding: 20px 25px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quiz-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quiz-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    color: #64748b;
}

.quiz-meta i {
    color: #9ca3af;
    font-size: 0.8em;
}

/* Retake Button */
.retake-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
}

.retake-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
}

.retake-btn i {
    font-size: 0.8em;
}

/* Performance Indicators */
.quiz-card[data-performance="excellent"] {
    border-left-color: #10b981;
}

.quiz-card[data-performance="excellent"] .quiz-score .percentage {
    background: #dcfce7;
    color: #16a34a;
}

.quiz-card[data-performance="good"] {
    border-left-color: #3b82f6;
}

.quiz-card[data-performance="good"] .quiz-score .percentage {
    background: #dbeafe;
    color: #2563eb;
}

.quiz-card[data-performance="needs-improvement"] {
    border-left-color: #f59e0b;
}

.quiz-card[data-performance="needs-improvement"] .quiz-score .percentage {
    background: #fef3c7;
    color: #d97706;
}

/* Quiz Tab Responsive */
@media (max-width: 768px) {
    .quiz-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quiz-header-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .quiz-details {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .quiz-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .retake-btn {
        align-self: center;
    }
}

/* Rewards Section - Puan & Ödüller */
.rewards-section {
    margin-bottom: 40px;
}

.rewards-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ef4444;
}

.rewards-header h3 {
    color: #1e293b;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rewards-header h3 i {
    color: #ef4444;
    font-size: 1.2em;
}

.rewards-header p {
    color: #64748b;
    font-size: 1em;
    margin: 0;
}

/* Current Points Display */
.current-points-display {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 15px;
    border: 2px solid #f59e0b;
}

.current-points-display h4 {
    color: #92400e;
    font-size: 1.2em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.points-display {
    font-size: 2.5em;
    font-weight: bold;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.points-display::before {
    content: "🎯";
    font-size: 0.8em;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Reward Cards */
.reward-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
    position: relative;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reward-card.affordable {
    border-left-color: #10b981;
}

.reward-card.affordable:hover {
    border-left-color: #059669;
}

.reward-card.expensive {
    border-left-color: #f59e0b;
}

.reward-card.unavailable {
    border-left-color: #9ca3af;
    opacity: 0.7;
}

/* Reward Image */
.reward-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
    position: relative;
}

.reward-card:nth-child(1) .reward-image {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.reward-card:nth-child(2) .reward-image {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.reward-card:nth-child(3) .reward-image {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.reward-card:nth-child(4) .reward-image {
    background: linear-gradient(135deg, #10b981, #059669);
}

.reward-card:nth-child(n+5) .reward-image {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Reward Content */
.reward-content {
    padding: 25px;
}

.reward-content h4 {
    color: #1e293b;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.reward-content p {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Reward Price */
.reward-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.points-cost {
    font-size: 1.1em;
    font-weight: 600;
    color: #1e293b;
}

.reward-status {
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.reward-status.available {
    background: #dcfce7;
    color: #16a34a;
}

.reward-status.expensive {
    background: #fef3c7;
    color: #d97706;
}

.reward-status.unavailable {
    background: #f1f5f9;
    color: #64748b;
}

/* Reward Button */
.reward-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 0 0 15px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95em;
}

.reward-btn.available {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.reward-btn.available:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.reward-btn.expensive {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.reward-btn.expensive:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.reward-btn.unavailable {
    background: #f1f5f9;
    color: #9ca3af;
    cursor: not-allowed;
}

.reward-btn i {
    font-size: 0.9em;
}

/* Points Summary */
.points-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.points-stat {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-left: 4px solid transparent;
}

.points-stat:nth-child(1) { border-left-color: #10b981; }
.points-stat:nth-child(2) { border-left-color: #3b82f6; }
.points-stat:nth-child(3) { border-left-color: #f59e0b; }

.points-stat h4 {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 8px;
    font-weight: 500;
}

.points-stat .value {
    font-size: 2em;
    font-weight: bold;
    color: #1e293b;
}

/* Rewards Responsive */
@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .points-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .points-display {
        font-size: 2em;
    }
    
    .reward-content {
        padding: 20px;
    }
}

/* Points Overview Section */
.points-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.points-main-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid #10b981;
}

.points-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.points-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    flex-shrink: 0;
}

.points-info h2 {
    font-size: 3em;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
    line-height: 1;
}

.points-info p {
    color: #64748b;
    font-size: 1.1em;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.points-breakdown {
    padding: 25px;
}

.point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.point-label {
    color: #64748b;
    font-size: 0.95em;
    font-weight: 500;
}

.point-value {
    font-size: 1.3em;
    font-weight: 700;
    color: #0f172a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.point-value[class*="+"] {
    color: #16a34a;
}

.point-value[class*="-"] {
    color: #dc2626;
}

/* Point Statistics Cards - Same style as main points card */
.points-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.point-stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.point-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.point-stat-icon {
    color: #64748b;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.point-stat-content h3 {
    font-size: 2em;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
    line-height: 1;
}

.point-stat-content p {
    color: #64748b;
    font-size: 0.9em;
    font-weight: 500;
    margin: 0;
}

/* Achievement Badges Section */
.achievement-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid #8b5cf6;
}

.achievement-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.achievement-header h3 {
    color: #1e293b;
    font-size: 1.3em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.achievement-header h3 i {
    color: #8b5cf6;
    font-size: 1.1em;
}

.achievement-header p {
    color: #64748b;
    font-size: 0.95em;
    margin: 0;
}

/* Badge Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: #f1f5f9;
}

.badge-item {
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.badge-item:hover {
    background: #f8fafc;
    transform: scale(1.02);
}

.badge-item.earned {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.badge-item.locked {
    background: linear-gradient(135deg, #f9fafb 0%, #f1f5f9 100%);
    opacity: 0.7;
}

/* Badge Icons */
.badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
    flex-shrink: 0;
    position: relative;
}

.badge-item.earned .badge-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.badge-item.locked .badge-icon {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

/* Special Badge Colors */
.badge-item.earned .badge-icon i.fa-star {
    color: #fbbf24;
}

.badge-item.earned .badge-icon i.fa-fire {
    color: #f87171;
}

.badge-item.earned .badge-icon i.fa-trophy {
    color: #a78bfa;
}

.badge-item.earned .badge-icon i.fa-crown {
    color: #fbbf24;
}

.badge-item.earned .badge-icon i.fa-rocket {
    color: #60a5fa;
}

.badge-item.earned .badge-icon i.fa-diamond {
    color: #e879f9;
}

/* Badge completion indicator */
.badge-item.earned .badge-icon::after {
    content: "✓";
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #16a34a;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    border: 2px solid white;
}

/* Badge Info */
.badge-info {
    flex: 1;
}

.badge-info h4 {
    color: #1e293b;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.badge-item.locked .badge-info h4 {
    color: #64748b;
}

.badge-info p {
    color: #64748b;
    font-size: 0.85em;
    margin-bottom: 5px;
    line-height: 1.4;
}

.badge-info small {
    color: #9ca3af;
    font-size: 0.8em;
    font-weight: 500;
}

.badge-item.earned .badge-info small {
    color: #16a34a;
    font-weight: 600;
}

/* Points Overview Responsive */
@media (max-width: 1024px) {
    .points-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .points-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .points-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
    
    .points-info h2 {
        font-size: 2.5em;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .badge-item {
        padding: 15px;
    }
    
    .badge-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
}

/* Recent Points Section */
.recent-points-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid #3b82f6;
    margin-bottom: 30px;
}

.recent-points-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.recent-points-header h3 {
    color: #1e293b;
    font-size: 1.3em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-points-header h3 i {
    color: #3b82f6;
    font-size: 1.1em;
}

/* Recent Points List */
.recent-points-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.recent-point-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.recent-point-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(5px);
}

/* Recent Point Icons */
.recent-point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    flex-shrink: 0;
    position: relative;
}

.recent-point-icon.education {
    background: linear-gradient(135deg, #10b981, #059669);
}

.recent-point-icon.quiz {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.recent-point-icon.task {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.recent-point-icon.bonus {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.recent-point-icon.milestone {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Recent Point Icon Badge */
.recent-point-icon::after {
    content: "+";
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #16a34a;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    border: 2px solid white;
}

/* Recent Point Info */
.recent-point-info {
    flex: 1;
}

.recent-point-info h4 {
    color: #1e293b;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.recent-point-info p {
    color: #64748b;
    font-size: 0.9em;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.recent-point-date {
    font-size: 0.8em;
    color: #9ca3af;
    font-weight: 500;
}

/* Recent Point Score */
.recent-point-score {
    text-align: right;
    min-width: 60px;
}

.recent-point-score span {
    font-size: 1.3em;
    font-weight: bold;
    color: #16a34a;
    background: #dcfce7;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* Activity Types Styling */
.recent-point-item[data-type="education"] {
    border-left: 3px solid #10b981;
}

.recent-point-item[data-type="quiz"] {
    border-left: 3px solid #3b82f6;
}

.recent-point-item[data-type="task"] {
    border-left: 3px solid #f59e0b;
}

.recent-point-item[data-type="bonus"] {
    border-left: 3px solid #8b5cf6;
}

.recent-point-item[data-type="milestone"] {
    border-left: 3px solid #ef4444;
}

/* Special Recent Point Items */
.recent-point-item.bonus-item {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
}

.recent-point-item.milestone-item {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.recent-point-item.high-score {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.recent-point-item.high-score .recent-point-score span {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.4em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Points Timeline */
.points-timeline {
    position: relative;
    padding-left: 30px;
}

.points-timeline::before {
    content: '';
    position: absolute;
    left: 75px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #10b981, #3b82f6, #f59e0b, #8b5cf6);
    opacity: 0.3;
}

.recent-point-item.timeline-item {
    position: relative;
}

.recent-point-item.timeline-item::before {
    content: '';
    position: absolute;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Recent Points Responsive */
@media (max-width: 768px) {
    .recent-points-list {
        padding: 0 10px;
    }
    
    .recent-point-item {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .recent-point-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
    
    .recent-point-info h4 {
        font-size: 1em;
    }
    
    .recent-point-score span {
        font-size: 1.1em;
        padding: 4px 8px;
    }
    
    .points-timeline {
        padding-left: 0;
    }
    
    .points-timeline::before {
        display: none;
    }
    
    .recent-point-item.timeline-item::before {
        display: none;
    }
}

/* Campaigns Section */
/* Campaign Tabs */
.campaign-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.campaign-tab-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95em;
}

.campaign-tab-btn:hover {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
    transform: translateY(-1px);
}

.campaign-tab-btn.active {
    border-color: #ef4444;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.campaign-tab-btn i {
    font-size: 0.9em;
}

/* Campaign Tab Content */
.campaign-tab-content {
    display: none;
}

.campaign-tab-content.active {
    display: block;
}

/* Campaigns Grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* Campaign Cards */
.campaign-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
    position: relative;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.campaign-card.featured {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fefefe 0%, #fef2f2 100%);
}

.campaign-card.education {
    border-left-color: #10b981;
}

.campaign-card.sponsor {
    border-left-color: #8b5cf6;
}

/* Campaign Badge */
.campaign-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

/* Campaign Image */
.campaign-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    color: white;
    position: relative;
}

.campaign-card:nth-child(1) .campaign-image {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.campaign-card:nth-child(2) .campaign-image {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.campaign-card:nth-child(3) .campaign-image {
    background: linear-gradient(135deg, #10b981, #059669);
}

.campaign-card:nth-child(4) .campaign-image {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.campaign-card:nth-child(n+5) .campaign-image {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Campaign Content */
.campaign-content {
    padding: 25px;
}

/* Campaign Sponsor */
.campaign-sponsor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.sponsor-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: #64748b;
}

.campaign-sponsor span {
    font-weight: 600;
    color: #374151;
    font-size: 0.9em;
}

/* Campaign Title & Description */
.campaign-content h3 {
    color: #1e293b;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.campaign-content p {
    color: #64748b;
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Campaign Benefits */
.campaign-benefits {
    margin-bottom: 20px;
}

.campaign-benefits h4 {
    color: #374151;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 10px;
}

.campaign-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.campaign-benefits li {
    color: #64748b;
    font-size: 0.9em;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.campaign-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Campaign Meta */
.campaign-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85em;
    color: #64748b;
}

.campaign-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.campaign-meta i {
    color: #9ca3af;
    font-size: 0.9em;
}

/* Campaign Actions */
.campaign-actions {
    display: flex;
    gap: 10px;
}

.campaign-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9em;
}

.campaign-btn.primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.campaign-btn.primary:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
}

.campaign-btn.secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.campaign-btn.secondary:hover {
    background: #e2e8f0;
    color: #334155;
    transform: translateY(-1px);
}

/* Campaign Status */
.campaign-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.campaign-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.campaign-status.upcoming {
    background: #fef3c7;
    color: #d97706;
}

.campaign-status.ended {
    background: #f1f5f9;
    color: #64748b;
}

/* Special Campaign Types */
.campaign-card.urgent {
    border-left-color: #f59e0b;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        border-left-color: #f59e0b;
    }
    50% {
        border-left-color: #ef4444;
    }
    100% {
        border-left-color: #f59e0b;
    }
}

.campaign-card.new {
    position: relative;
}

.campaign-card.new::before {
    content: "YENİ";
    position: absolute;
    top: -5px;
    left: 20px;
    background: #10b981;
    color: white;
    padding: 5px 10px;
    border-radius: 0 0 8px 8px;
    font-size: 0.7em;
    font-weight: bold;
    z-index: 3;
}

/* Campaign Filter */
.campaign-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.filter-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9em;
}

.filter-select {
    padding: 8px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.9em;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Sponsor Logos */
.sponsor-logo.pfizer {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
}

.sponsor-logo.novartis {
    background: linear-gradient(135deg, #009639, #006a2b);
    color: white;
}

.sponsor-logo.roche {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.sponsor-logo.bayer {
    background: linear-gradient(135deg, #00a8cc, #0082a6);
    color: white;
}

.sponsor-logo.johnson {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

/* Campaign Responsive */
@media (max-width: 768px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .campaign-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .campaign-tab-btn {
        justify-content: center;
        padding: 10px 15px;
    }
    
    .campaign-content {
        padding: 20px;
    }
    
    .campaign-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .campaign-btn {
        padding: 10px;
    }
    
    .campaign-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .campaign-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
}

/* Profile Section - Similar to main profile but adapted for Kalfa */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-avatar-section {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2em;
}

.profile-avatar-section h3 {
    margin-bottom: 5px;
}

.profile-role {
    opacity: 0.9;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat .value {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.stat .label {
    font-size: 0.8em;
    opacity: 0.8;
}

/* Profile Sidebar Additional Sections */
.profile-info-sections {
    padding: 0;
}

.profile-info-section {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    background: white;
}

.profile-info-section:last-child {
    border-bottom: none;
}

.profile-info-section h4 {
    color: #1e293b;
    font-size: 1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.profile-info-section h4 i {
    color: #10b981;
    font-size: 0.9em;
}

.profile-section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-section-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9em;
}

.profile-section-item .label {
    color: #64748b;
    font-weight: 500;
}

.profile-section-item .value {
    color: #1e293b;
    font-weight: 600;
}

.profile-section-item .progress-value {
    color: #10b981;
    font-weight: 600;
}

.profile-achievements {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.achievement-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: white;
    flex-shrink: 0;
}

.achievement-icon.star {
    background: #f59e0b;
}

.achievement-icon.fire {
    background: #ef4444;
}

.achievement-icon.trophy {
    background: #8b5cf6;
}

.achievement-text {
    font-size: 0.85em;
    color: #64748b;
    line-height: 1.3;
}

/* Profile Sidebar Education Progress Card */
.education-progress-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.education-progress-card h4 {
    color: white;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.education-progress-card h4 i {
    color: rgba(255, 255, 255, 0.8);
}

.progress-item {
    margin-bottom: 12px;
}

.progress-label {
    display: block;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-weight: 500;
}

.progress-bar-small {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-value {
    font-size: 0.8em;
    color: white;
    font-weight: 600;
    float: right;
}

/* Profile Achievements in sidebar */
.profile-achievements {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.profile-achievements h4 {
    color: white;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.profile-achievements h4 i {
    color: rgba(255, 255, 255, 0.8);
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.profile-badge {
    background: rgba(16, 185, 129, 0.8);
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-badge i {
    font-size: 0.8em;
    color: #fbbf24;
}

.profile-badge i.fa-star {
    color: #fbbf24;
}

.profile-badge i.fa-fire {
    color: #f87171;
}

.profile-badge i.fa-trophy {
    color: #a78bfa;
}

.profile-certificates {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.certificate-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 15px !important;
    background: rgba(16, 185, 129, 0.7) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 8px !important;
}

.certificate-item i {
    color: #fbbf24 !important;
    font-size: 1.1em !important;
    width: 18px !important;
    flex-shrink: 0 !important;
}

.certificate-item span {
    flex: 1 !important;
    font-size: 0.85em !important;
    color: white !important;
    font-weight: 500 !important;
}

.certificate-item small {
    font-size: 0.75em !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
}

/* Extra specific selectors for certificates */
.profile-achievements .profile-certificates .certificate-item {
    background: rgba(16, 185, 129, 0.8) !important;
    color: white !important;
}

.profile-achievements .profile-certificates .certificate-item span {
    color: white !important;
}

.profile-achievements .profile-certificates .certificate-item small {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Workplace info styling */
.profile-workplace {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

.profile-workplace i {
    color: rgba(255, 255, 255, 0.8);
}

.profile-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.tab-btn.active {
    color: #10b981;
    background: #f8fafc;
    border-bottom: 2px solid #10b981;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.profile-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input[readonly],
.form-group select[disabled] {
    background: #f9fafb;
    color: #6b7280;
}

.save-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Schedule Section - Kalfa specific */
.schedule-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.schedule-header h3 {
    color: #1e293b;
    font-size: 1.5em;
}

.week-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.week-btn {
    background: #10b981;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.week-btn:hover {
    background: #059669;
    transform: scale(1.1);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.day-card {
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.day-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
}

.day-header {
    background: #f8fafc;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.day-header h4 {
    color: #1e293b;
    margin-bottom: 5px;
}

.day-header .date {
    color: #64748b;
    font-size: 0.9em;
}

.day-schedule {
    padding: 20px 15px;
    text-align: center;
}

.day-schedule.active {
    background: #f0fdf4;
}

.day-schedule.today {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.day-schedule.rest {
    background: #f1f5f9;
}

.shift-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.shift-time i {
    color: #10b981;
    font-size: 1.2em;
}

.shift-time span {
    font-weight: 600;
    color: #1e293b;
}

.current-time {
    background: #f59e0b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.shift-tasks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85em;
    color: #64748b;
}

.rest-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.rest-day i {
    font-size: 2em;
    opacity: 0.5;
}

/* Notification */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

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

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .user-actions {
        order: 2;
        margin: 10px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .tasks-tabs {
        flex-direction: column;
    }
    
    .profile-tabs {
        flex-direction: column;
    }
    
    .task-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .section-header h1 {
        font-size: 1.8em;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .task-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-btn span {
        display: none;
    }
    
    .nav-link span {
        display: none;
    }
    
    .tips-container {
        padding: 15px;
    }
    
    .tip-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Cache Buster - v20250907024 */
/* Force certificate styling override */
.profile-sidebar .profile-achievements .certificate-item {
    background: #10b981 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.profile-sidebar .certificate-item * {
    color: white !important;
}

/* Leaderboard Styles */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 25px 25px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.leaderboard-item.position-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.leaderboard-item.position-2 {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-color: #9ca3af;
}

.leaderboard-item.position-3 {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-color: #f97316;
}

.position {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    font-weight: bold;
    position: relative;
}

.position .fa-crown.gold {
    color: #f59e0b;
}

.position .fa-medal.silver {
    color: #9ca3af;
}

.position .fa-medal.bronze {
    color: #f97316;
}

.position span {
    font-size: 1.2em;
    color: #374151;
}

.position .fa-crown {
    color: #f59e0b;
    font-size: 1.4em;
}

.position .fa-medal.silver {
    color: #9ca3af;
    font-size: 1.3em;
}

.position .fa-medal.bronze {
    color: #f97316;
    font-size: 1.3em;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.participant-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
}

.participant-avatar.current-user {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.participant-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.participant-details h5 {
    margin: 0;
    font-weight: 600;
    color: #111827;
    font-size: 1.1em;
}

.participant-details small {
    color: #6b7280;
    font-size: 0.85em;
    margin: 0;
}

.participant-score {
    text-align: right;
    min-width: 80px;
}

.participant-score .score {
    display: block;
    font-size: 1.4em;
    font-weight: bold;
    color: #059669;
    line-height: 1.2;
}

.participant-score small {
    color: #6b7280;
    font-size: 0.8em;
}

.leaderboard-motivation {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #dcfdf7 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.motivation-icon {
    color: #059669;
    font-size: 1.5em;
}

.leaderboard-motivation p {
    margin: 0;
    color: #065f46;
    font-weight: 500;
}

/* Quick Notes Styles */
.quick-notes {
    margin-bottom: 20px;
    padding: 0 25px 25px;
}

.quick-note-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.quick-note-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.note-content {
    flex: 1;
}

.note-content p {
    margin: 0 0 4px 0;
    color: #374151;
    font-size: 0.9em;
    line-height: 1.4;
}

.note-content small {
    color: #6b7280;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.note-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-note-item:hover .note-actions {
    opacity: 1;
}

.edit-note-btn,
.delete-note-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75em;
    transition: all 0.3s ease;
}

.edit-note-btn {
    background: #ddd6fe;
    color: #7c3aed;
}

.edit-note-btn:hover {
    background: #c4b5fd;
}

.delete-note-btn {
    background: #fecaca;
    color: #dc2626;
}

.delete-note-btn:hover {
    background: #fca5a5;
}

.add-note-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.add-note-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.tips-container h4 {
    margin: 20px 0 15px 0;
    color: #374151;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-bottom: 8px;
}

.tip-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #0284c7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    flex-shrink: 0;
}

.tip-content h5 {
    margin: 0 0 4px 0;
    color: #0f172a;
    font-size: 0.9em;
    font-weight: 600;
}

.tip-content p {
    margin: 0;
    color: #475569;
    font-size: 0.8em;
    line-height: 1.4;
}

/* Quick Feedback Styles */
.quick-feedback {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 25px 25px;
}

.feedback-prompt h4 {
    margin: 4px 0 0 0;
    color: #1f2937;
    font-size: 1.1em;
}

.feedback-prompt p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9em;
}

.feedback-rating span {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 0.9em;
    font-weight: 500;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars i {
    color: #d1d5db;
    cursor: pointer;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.rating-stars i.active,
.rating-stars i:hover {
    color: #f59e0b;
}

.feedback-quick-comments p {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 0.9em;
    font-weight: 500;
}

.quick-comment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-comment-btn {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.quick-comment-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.quick-comment-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.feedback-actions {
    display: flex;
    gap: 8px;
}

.feedback-submit-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.feedback-submit-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.feedback-skip-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.feedback-skip-btn:hover {
    border-color: #cbd5e1;
    color: #374151;
}

/* Activity Reward Styles */
.activity-reward {
    background: #dcfdf7;
    color: #059669;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}

/* Quiz & Simulation Results Styles */
.quiz-results {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #cbd5e1;
    transition: all 0.3s ease;
}

.quiz-result-item:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quiz-result-item.excellent {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.quiz-result-item.good {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.quiz-result-item.average {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
}

.quiz-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
}

.quiz-result-item.excellent .quiz-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quiz-result-item.good .quiz-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
}

.quiz-result-item.average .quiz-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quiz-content {
    flex: 1;
}

.quiz-content h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 1.1em;
    font-weight: 600;
}

.quiz-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.quiz-score .score {
    font-size: 1.2em;
    font-weight: bold;
    color: #374151;
}

.quiz-score .percentage {
    background: #e5e7eb;
    color: #374151;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.quiz-result-item.excellent .quiz-score .percentage {
    background: #d1fae5;
    color: #065f46;
}

.quiz-result-item.good .quiz-score .percentage {
    background: #dbeafe;
    color: #1e3a8a;
}

.quiz-result-item.average .quiz-score .percentage {
    background: #fef3c7;
    color: #92400e;
}

.quiz-content small {
    color: #6b7280;
    font-size: 0.85em;
}

.quiz-badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 80px;
    justify-content: center;
}

.quiz-badge.excellent {
    background: #10b981;
    color: white;
}

.quiz-badge.good {
    background: #3b82f6;
    color: white;
}

.quiz-badge.average {
    background: #f59e0b;
    color: white;
}

.quiz-summary {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.4em;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.85em;
    color: #6b7280;
}

@media (max-width: 768px) {
    .quiz-result-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .quiz-content {
        order: 2;
    }
    
    .quiz-badge {
        order: 3;
        align-self: center;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* Certificates Section Styles */
.certificate-header-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 25px 15px;
}

.certificate-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-item.completed {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    border-color: #e5e7eb;
}

.certificate-item.completed::before {
    opacity: 1;
    background: linear-gradient(90deg, #10b981, #059669);
}

.certificate-item.locked {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #d1d5db;
    opacity: 0.7;
}

.certificate-item.locked::before {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
    opacity: 0.5;
}

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.certificate-preview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3em;
}

.certificate-item.completed .certificate-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.certificate-item.locked .certificate-icon {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.certificate-seal {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9em;
    position: absolute;
    top: -5px;
    right: -5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.certificate-seal.locked {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
}

.certificate-info h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 1.2em;
    font-weight: 600;
}

.certificate-item.locked .certificate-info h4 {
    color: #6b7280;
}

.certificate-details {
    color: #6b7280;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.certificate-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.completion-date,
.certificate-score,
.progress-info {
    font-size: 0.85em;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 5px;
}

.certificate-score {
    color: #059669;
    font-weight: 500;
}

.progress-info {
    color: #f59e0b;
    font-weight: 500;
}

.download-btn {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.locked-btn {
    width: 100%;
    padding: 10px 15px;
    background: #e5e7eb;
    color: #9ca3af;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.certificates-summary {
    display: flex;
    justify-content: space-around;
    padding: 20px 25px 5px;
    margin-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.summary-item {
    text-align: center;
    flex: 1;
}

.summary-number {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 3px;
}

.summary-label {
    font-size: 0.85em;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        padding: 0 15px 15px;
    }
    
    .certificate-item {
        padding: 15px;
    }
    
    .certificates-summary {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px 5px;
    }
}

/* Reward Catalog Styles */
.reward-header-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
}

.current-points {
    margin-top: 10px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.points-label {
    font-size: 0.9em;
    color: #92400e;
    font-weight: 500;
}

.points-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #b45309;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 25px 20px;
}

.reward-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reward-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reward-item.available {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    border-color: #d1d5db;
}

.reward-item.available::before {
    opacity: 1;
}

.reward-item.available:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #10b981;
}

.reward-item.unavailable {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #d1d5db;
    opacity: 0.8;
}

.reward-item.unavailable::before {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
    opacity: 0.3;
}

.reward-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.reward-item.unavailable .reward-image {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.2);
}

.reward-info h4 {
    margin: 0 0 8px 0;
    color: #1f2937;
    font-size: 1.1em;
    font-weight: 600;
}

.reward-item.unavailable .reward-info h4 {
    color: #6b7280;
}

.reward-description {
    color: #6b7280;
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.4;
}

.reward-cost {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.cost-points {
    font-size: 1.4em;
    font-weight: bold;
    color: #059669;
}

.reward-item.unavailable .cost-points {
    color: #9ca3af;
}

.cost-label {
    font-size: 0.9em;
    color: #6b7280;
}

.redeem-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9em;
}

.redeem-btn.available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.redeem-btn.available:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.redeem-btn.unavailable {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.points-needed {
    text-align: center;
    margin-top: 8px;
    font-size: 0.8em;
    color: #ef4444;
    font-weight: 500;
}

.rewards-summary {
    padding: 20px 25px 5px;
    margin-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.summary-info {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.info-item {
    text-align: center;
    flex: 1;
}

.info-number {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 3px;
}

.info-label {
    font-size: 0.85em;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: 1fr;
        padding: 0 15px 20px;
    }
    
    .reward-item {
        padding: 15px;
    }
    
    .reward-image {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }
    
    .summary-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .rewards-summary {
        padding: 20px 15px 5px;
    }
}

/* Sponsor Campaign Announcements Styles */
.campaign-header-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2em;
}

.campaigns-container {
    padding: 0 25px 25px;
}

.campaign-tabs {
    display: flex;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
    gap: 5px;
}

.campaign-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.campaign-tab:hover {
    background: #f8fafc;
    color: #374151;
}

.campaign-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border-bottom: 2px solid #3b82f6;
}

.campaign-content {
    min-height: 400px;
}

.campaign-tab-content {
    display: none;
}

.campaign-tab-content.active {
    display: block;
}

.campaign-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.campaign-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.campaign-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.campaign-item:hover::before {
    opacity: 1;
}

.campaign-item.featured {
    background: linear-gradient(135deg, #fefefe 0%, #f0f9ff 100%);
    border-color: #3b82f6;
}

.campaign-item.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.campaign-item.upcoming {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    border-color: #f59e0b;
}

.campaign-item.completed {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #10b981;
}

.campaign-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.campaign-badge.upcoming {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.campaign-badge.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.campaign-sponsor {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-right: 120px;
}

.sponsor-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sponsor-logo.pfizer {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}

.sponsor-logo.novartis {
    background: linear-gradient(135deg, #009639 0%, #006a2b 100%);
}

.sponsor-logo.roche {
    background: linear-gradient(135deg, #e60026 0%, #b3001d 100%);
}

.sponsor-logo.bayer {
    background: linear-gradient(135deg, #00a651 0%, #007a3d 100%);
}

.sponsor-logo.johnson {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}
.sponsor-logo.abbvie {
    background: linear-gradient(135deg, #6b46c1 0%, #553c9a 100%);
}

.sponsor-info h4 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-size: 1.2em;
    font-weight: 600;
}

.campaign-subtitle {
    color: #6b7280;
    font-size: 0.9em;
    margin: 0;
}

.campaign-details {
    margin-bottom: 15px;
}

.campaign-details p {
    color: #374151;
    line-height: 1.5;
    margin-bottom: 12px;
}

.campaign-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    color: #1e3a8a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
}

.campaign-launch,
.campaign-result {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9em;
    margin-top: 10px;
}

.campaign-result {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.campaign-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.campaign-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
}

.campaign-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.campaign-btn.primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.campaign-btn.secondary {
    background: #f8fafc;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.campaign-btn.secondary:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.campaign-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #6b7280;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.campaign-deadline,
.campaign-participants {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .campaigns-container {
        padding: 0 15px 25px;
    }
    
    .campaign-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .campaign-tab {
        border-radius: 0;
        text-align: center;
    }
    
    .campaign-sponsor {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
        margin-bottom: 100px;
    }
    
    .campaign-badge {
        position: static;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    
    .campaign-actions {
        flex-direction: column;
    }
    
    .campaign-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .campaign-benefits {
        flex-direction: column;
        gap: 8px;
    }
}

/* Fixed Profile Navigation Sidebar */
.profile-nav-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 200px;
}

.profile-nav-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.profile-nav-card h3 {
    color: #1e40af;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-nav-card h3 i {
    color: #3b82f6;
}

.profile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.profile-nav-item:hover {
    background: #3b82f6;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.profile-nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Responsive Design for Profile Navigation */
@media (max-width: 1200px) {
    .profile-nav-sidebar {
        left: 10px;
        width: 180px;
    }
    
    .profile-nav-card {
        padding: 15px;
    }
    
    .profile-nav-item {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .profile-nav-sidebar {
        display: none;
    }
    
    .main-content, .main {
        margin-left: 0 !important;
    }
}

/* Main content margin adjustment for profile nav */
.main-content, .main {
    margin-left: 240px;
}

@media (max-width: 1200px) {
    .main-content, .main {
        margin-left: 210px;
    }
}

/* Demo Education Area Styles */
.demo-education-area {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.demo-education-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.demo-education-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(238, 90, 36, 0.3);
}

.demo-card-header h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.demo-card-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.demo-education-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.demo-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.demo-info-item i {
    color: #667eea;
    font-size: 1.1rem;
}

.demo-info-item span {
    font-weight: 500;
    color: #4a5568;
}

.demo-education-description p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-education-topics h4 {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.demo-education-topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-education-topics li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.demo-education-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.demo-card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.demo-start-btn, .demo-preview-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.demo-start-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.demo-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.demo-preview-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.demo-preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design for Demo Education */
@media (max-width: 768px) {
    .demo-education-area {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .demo-education-card {
        padding: 1rem;
    }
    
    .demo-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .demo-card-header h3 {
        font-size: 1.2rem;
    }
    
    .demo-card-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-education-info {
        grid-template-columns: 1fr;
    }
    
    .demo-card-actions {
        flex-direction: column;
    }
    
    .demo-start-btn, .demo-preview-btn {
        width: 100%;
        justify-content: center;
    }
}