 :root {
        --primary: #4f46e5;
        --primary-dark: #4338ca;
        --primary-light: #818cf8;
        --accent: #10b981;
        --bg-body: #f8fafc;
        --bg-card: rgba(255, 255, 255, 0.9);
        --text-main: #0f172a;
        --text-muted: #64748b;
        --border: rgba(226, 232, 240, 0.8);        
        --radius-xl: 1.5rem;
        --radius-lg: 1rem;
        --radius-md: 0.75rem;        
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --sidebar-width: 260px;                
        --music-panel-bg: rgba(15, 23, 42, 0.95);
        --music-border: rgba(255, 255, 255, 0.08);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: var(--bg-body);
        color: var(--text-main);
        min-height: 100vh;
        overflow-x: hidden;
        display: flex;
        background-image: 
            radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
            radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
        background-attachment: fixed;
    }
    
    .sidebar {
        width: var(--sidebar-width);      
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        height: 100vh;
        position: fixed;
        left: 0; top: 0;
        padding: 2rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1000;
        border-right: 1px solid rgba(255, 255, 255, 0.08); 
        box-shadow: 15px 0 40px -5px rgba(0, 0, 0, 0.4); 
    }

    .brand {
        display: flex; align-items: center; gap: 14px;
        color: white; text-decoration: none;
        margin-bottom: 2.5rem; padding-left: 0.5rem;
    }
    .brand img { height: 42px; width: auto; filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.3)); }
    .brand span { 
        font-weight: 800; font-size: 1.35rem; letter-spacing: -0.5px; line-height: 1.1;
        background: linear-gradient(to right, #fff, #94a3b8);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
   
    .nav-links {
        display: flex; flex-direction: column; gap: 4px;
        overflow-y: auto; flex-grow: 1; scrollbar-gutter: stable; 
    }
    .nav-links::-webkit-scrollbar { width: 4px; }
    .nav-links::-webkit-scrollbar-track { background: transparent; }
    .nav-links::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.15); border-radius: 10px; }
    .nav-links::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.3); }
    
    .nav-link {
        display: flex; align-items: center; gap: 14px;
        padding: 12px 16px;
        color: #94a3b8; text-decoration: none;
        border-radius: 12px; font-weight: 500; font-size: 0.95rem;
        transition: all 0.2s ease; border: 1px solid transparent;
    }
    .nav-link:hover { background: rgba(255,255,255,0.03); color: #e2e8f0; }
    .nav-link i { width: 20px; text-align: center; font-size: 1.1rem; transition: transform 0.2s; }

    .nav-link.active { 
        background: linear-gradient(90deg, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0.05) 100%);
        color: #818cf8; border-left: 3px solid #6366f1;
        border-radius: 4px 12px 12px 4px; font-weight: 600;
        box-shadow: 10px 0 20px -5px rgba(99, 102, 241, 0.2);
    }
    .nav-link.active i { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6)); }
   
    .pro-card {
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
        padding: 1.5rem; border-radius: 1.25rem;
        color: white; text-align: center; position: relative; overflow: hidden;
        border: 1px solid rgba(255,255,255,0.08); margin-top: 1rem;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }
    .pro-card::before {
        content: ''; position: absolute; top: -50px; right: -50px; width: 100px; height: 100px;
        background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
        filter: blur(20px);
    }
    .pro-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
    .pro-card p { color: #94a3b8; font-size: 0.85rem; line-height: 1.4; margin-bottom: 1rem; }
    
    .pro-btn {
        background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%); 
        color: white; border: none; padding: 12px; border-radius: 10px; 
        font-weight: 600; width: 100%; cursor: pointer; font-size: 0.9rem;
        transition: all 0.2s; position: relative; z-index: 2;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    }
    .pro-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35); }
    
    .main-wrapper {
        margin-left: var(--sidebar-width);
        flex-grow: 1; padding: 2rem 3rem;
        min-height: 100vh; transition: margin-left 0.3s ease;
    }
    
    .dashboard-grid {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    }
  
    .card-hero {
        grid-column: span 4;
        background-color: #ffffff;        
        
        background-image: 
            linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px), 
            linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.25) 0%, transparent 60%);
            
        background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
        background-position: center;

        display: flex; flex-direction: row; align-items: center; justify-content: space-between;
        padding: 3rem; border-radius: var(--radius-xl);
        
        border: 1px solid rgba(79, 70, 229, 0.25);
        box-shadow: 
            0 20px 40px -10px rgba(79, 70, 229, 0.15),
            0 0 0 1px rgba(79, 70, 229, 0.05) inset;
            
        position: relative; isolation: isolate; overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-hero:hover {
        transform: translateY(-2px);
        box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.2);
    }
  
    .hero-3d-icon {
        font-size: 0; position: absolute; right: -50px; bottom: -80px; 
        z-index: 0; pointer-events: none;
        
        width: 300px; height: 300px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(79, 70, 229, 0.15) 100%);
        border-radius: 50%; backdrop-filter: blur(5px);
        box-shadow: inset 10px 10px 20px rgba(255, 255, 255, 0.5), 15px 15px 30px rgba(79, 70, 229, 0.1);
        
        animation: floatShape 10s infinite ease-in-out alternate;
    }

    .hero-3d-icon::after {
        content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 70%; height: 70%; border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.1), transparent 60%);
    }
   
    .card-hero::before {
        content: '∫ ∑ π'; font-family: 'Times New Roman', serif;
        font-style: italic; font-size: 6rem; font-weight: bold;
        color: rgba(79, 70, 229, 0.03); position: absolute;
        top: 20px; right: 40px; z-index: 0; letter-spacing: 20px; transform: rotate(-10deg);
    }

    @keyframes floatShape {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(-20px, -20px) rotate(10deg); }
    }
    
    .hero-content { max-width: 100%; z-index: 2; }
    .hero-title { 
        font-size: 2.2rem; font-weight: 800; color: var(--text-main); 
        line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em;
        background: linear-gradient(135deg, #0f172a 30%, #4f46e5 100%);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .hero-desc { 
        color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; 
        font-size: 1.05rem; max-width: 100%; font-weight: 400;
    }

    .hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 1rem; }
    
    .hero-btn {
        background: linear-gradient(90deg, #0f172a 0%, #334155 100%); 
        color: white !important; height: 46px; padding: 0 24px;
        border-radius: 50px; font-weight: 700; font-size: 0.95rem;
        display: inline-flex; align-items: center; justify-content: center;
        gap: 8px; text-decoration: none; white-space: nowrap;
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: all 0.3s ease;
    }
    .hero-btn:hover { 
        transform: translateY(-2px); 
        background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%); 
        box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45); 
        border-color: rgba(255, 255, 255, 0.2);
    }
    .hero-btn:hover i { transform: translateX(4px) rotate(-10deg); }
    .hero-btn i { transition: transform 0.2s; }

    .student-badge {
        height: 46px; padding: 0 18px; border-radius: 50px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(79, 70, 229, 0.15);
        color: var(--primary); font-weight: 600; font-size: 0.85rem;
        display: flex; align-items: center; gap: 8px; white-space: nowrap;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03); backdrop-filter: blur(4px);
    }

    .pulse-icon {
        display: flex; align-items: center; justify-content: center;
        color: #ef4444; font-size: 0.55rem; width: 24px; height: 24px;
        background: rgba(239, 68, 68, 0.2); border-radius: 50%; 
        position: relative; margin-right: 4px; 
    }
    .pulse-icon::before {
        content: ''; position: absolute; width: 100%; height: 100%;
        border-radius: 50%; background: rgba(239, 68, 68, 0.6);
        animation: pulse-red 2s infinite cubic-bezier(0, 0, 0.2, 1); z-index: -1;
    }
    @keyframes pulse-red { 
        0% { transform: scale(1); opacity: 0.6; } 
        100% { transform: scale(1.8); opacity: 0; } 
    }
   
    .tabs-container {
        grid-column: span 4; 
        background: rgba(255, 255, 255, 0.8); 
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-xl);
        padding: 1.5rem; box-shadow: var(--shadow-sm);
        min-height: auto;
        padding-bottom: 2rem;
    }
    .tabs-header {
        border-bottom: none;
        background: #f1f5f9; 
        padding: 6px;
        border-radius: 16px; 
        gap: 0; display: flex; justify-content: space-between;
        margin-bottom: 1.5rem;
    }
    .tab-btn {
        flex: 1; padding: 10px 0; border: none;
        border-radius: 12px; background: transparent;
        color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
        cursor: pointer; position: relative; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1; text-align: center;
    }
    .tab-btn.active { 
        background: #ffffff; color: var(--primary);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transform: scale(1);
    }
    .tab-btn.active::after { display: none; }
    
    @media (min-width: 769px) {
        .tab-btn[onclick*="kesfet"] { display: none; }
    }
    
    .grid-mini {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1rem; animation: fadeIn 0.3s ease-out;
    }
    .mini-card {
        background: #ffffff;
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 1rem; padding: 1.25rem 1rem;
        text-align: center; text-decoration: none; color: var(--text-main);
        transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 12px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
        cursor: pointer;
    }
    
    .mini-card .icon-box {
        width: 48px; height: 48px; 
        background: rgba(79, 70, 229, 0.04); border-radius: 14px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.25rem; color: var(--primary); 
        transition: all 0.3s ease; box-shadow: none;
    }
    .mini-title { font-weight: 700; font-size: 0.95rem; }

    @media (hover: hover) {
        .mini-card:hover {
            border-color: var(--primary-light);
            box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15);
            transform: translateY(-3px);
            background: white;
        }
        .mini-card:hover .icon-box {
            background: var(--primary); color: white !important;
            transform: scale(1.1) rotate(-5deg);
        }
    }
 
    .gradient-grid {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
        gap: 1rem; animation: slideUp 0.4s ease-out;
    }
    .grad-card {
        position: relative; display: flex; flex-direction: column;
        align-items: center; justify-content: center; text-align: center;
        padding: 1.25rem 0.75rem; border-radius: 1rem;
        text-decoration: none; color: white;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        height: 100%; min-height: 120px;
    }
    .grad-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2); }
    .grad-card::after {
        content: ''; position: absolute; width: 150%; height: 100%;
        background: rgba(255, 255, 255, 0.1); top: 0; left: -80%;
        border-radius: 50%; transform: rotate(-20deg);
        pointer-events: none; transition: left 0.5s ease;
    }
    .grad-card:hover::after { left: -20%; }

    .grad-icon-box {
        width: 40px; height: 40px; background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(4px); border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.25rem; margin-bottom: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.3); z-index: 2;
    }
    .grad-title { font-size: 0.9rem; font-weight: 800; line-height: 1.2; margin-bottom: 4px; z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .grad-subtitle { font-size: 0.75rem; opacity: 0.9; font-weight: 500; z-index: 2; }

    /* Kart Renkleri */
    .g-blue { background: linear-gradient(135deg, #519aff 0%, #2f7cf6 100%); }
    .g-cyan { background: linear-gradient(135deg, #27d9f1 0%, #0abfd8 100%); }
    .g-lime { background: linear-gradient(135deg, #dcee4d 0%, #bed833 100%); color: #3b3535 !important; }
    .g-lime .grad-subtitle { opacity: 0.8; color: #333; }
    .g-lime .grad-icon-box { background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.1); color: #3b3535; }
    .g-green { background: linear-gradient(135deg, #44d87f 0%, #1db862 100%); }
    .g-pink { background: linear-gradient(135deg, #f963a4 0%, #ea3b84 100%); }
    .g-dark { background: linear-gradient(135deg, #667283 0%, #4e5969 100%); }
    .g-purple { background: linear-gradient(135deg, #997eff 0%, #7d5bf6 100%); }    
    
    .content-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; animation: fadeIn 0.3s ease; }
    .back-btn {
        background: #f1f5f9; border: none; color: var(--text-muted);
        width: 40px; height: 40px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: all 0.2s; font-size: 1.1rem;
    }
    .back-btn:hover { background: #e2e8f0; color: var(--text-main); transform: translateX(-3px); }
    .content-title { font-size: 1.2rem; font-weight: 700; color: var(--text-main); }

    .music-panel {
        position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
        background: var(--music-panel-bg); backdrop-filter: blur(25px); z-index: 2000;
        border-left: 1px solid var(--music-border);
        display: flex; flex-direction: column;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }
    .music-panel.active { transform: translateX(0); }
    .music-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--music-border); }
    .music-header h3 { font-size: 1.1rem; color: #fff; font-weight: 600; }
    .close-btn { 
        background: rgba(255,255,255,0.1); border: none; color: #cbd5e1; 
        width: 36px; height: 36px; border-radius: 50%; cursor: pointer; 
        font-size: 1.1rem; transition: all 0.2s; 
    }
    .close-btn:hover { background: #ef4444; color: white; transform: rotate(90deg); }
    .iframe-container { flex: 1; width: 100%; position: relative; }
    #musicFrame { width: 100%; height: 100%; position: absolute; border: none; }

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

    @media (max-width: 1024px) {
        .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
        .card-hero { grid-column: span 2; }
        .tabs-container { grid-column: span 2; }
    }

    @media (max-width: 768px) {
        body {
            background-color: #020617; 
            background-image: 
                radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
            color: #f8fafc;
        }
        .sidebar { display: none; }
        .main-wrapper { margin-left: 0; padding: 1.25rem; padding-top: 1.5rem; }
        .dashboard-grid { gap: 1.25rem; }
        
        .tabs-container { 
            grid-column: span 2; padding: 1rem;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(255,255,255,0.06);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.2); border-radius: 1.25rem;
        }
        .tabs-header { 
            background: rgba(0,0,0,0.3); border-bottom: none; 
            overflow-x: auto; padding: 4px; justify-content: flex-start; gap: 4px;
            scrollbar-width: none; 
    -ms-overflow-style: none;
        }
        .tabs-header::-webkit-scrollbar {
    display: none;
}
        .tab-btn { 
            flex: none; width: auto; padding: 8px 16px; 
            color: #94a3b8; font-weight: 500; font-size: 0.9rem;
        }
        .tab-btn.active { 
            background: #334155; color: #fff; font-weight: 600; box-shadow: none;
        }
      
        .grid-mini { 
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 0.5rem; 
        }
        .mini-card {
            background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(255,255,255,0.04);
            color: #e2e8f0; border-radius: 1rem; padding: 0.8rem 0.5rem;
        }
        .mini-card:active { background: rgba(46, 56, 86, 0.6); transform: scale(0.98); }
        .mini-card .mini-title { color: #f1f5f9; font-weight: 500; font-size: 0.75rem; }
        .icon-box {
            background: rgba(255,255,255,0.05); color: #a5b4fc;
            box-shadow: none; width: 38px; height: 38px; border-radius: 10px;
        }
        .mini-card[data-name*="sınıf"] .icon-box { color: #34d399 !important; }        
        .mini-card[data-name="anasayfa"] .icon-box { color: #f472b6 !important; }

        .gradient-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
        .grad-card { padding: 1rem 0.5rem; min-height: 100px; }
        .grad-icon-box { width: 36px; height: 36px; font-size: 1.1rem; margin-bottom: 8px; }
        .grad-title { font-size: 0.85rem; }
        
        .card-hero { 
            flex-direction: column; text-align: center; 
            background-color: #0f172a !important; 
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), 
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.4), transparent 50%) !important;
            padding: 2rem 1.5rem !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
            border-radius: 1.5rem; overflow: hidden;
        }
        .card-hero::before { display: none; }
        .hero-title { 
            color: #ffffff; background: none; -webkit-text-fill-color: initial !important;
            font-size: 1.75rem; margin-bottom: 0.75rem; letter-spacing: -0.03em;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        .hero-desc { margin-bottom: 1rem !important; max-width: 100%; color: #94a3b8; font-weight: 400; font-size: 0.95rem; }
        .hero-3d-icon { 
            width: 120px !important; height: 120px !important;
            right: -20px !important; bottom: -20px !important;
            opacity: 0.6 !important; font-size: 0;
        }

        .music-panel { width: 100%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
        .music-panel.active { right: 0 !important; transform: translateX(0) !important; }

        .hero-actions { margin-top: 0 !important; justify-content: center; flex-wrap: nowrap; width: 100%; gap: 8px; }
        .hero-btn { 
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            width: auto !important; flex-shrink: 0; height: 42px;
            padding: 0 16px; font-size: 0.9rem; color: #ffffff;
        }
        .hero-btn:active { transform: scale(0.98); }
        .student-badge {
            background: rgba(255, 255, 255, 0.1); color: #e2e8f0;
            border-color: rgba(255,255,255,0.2); height: 42px;
            flex-shrink: 0; padding: 0 14px; font-size: 0.8rem;
            white-space: nowrap;
        }
    }

    .sidebar > div:first-child { display: flex; flex-direction: column; flex-grow: 1; min-height: 0; }    
   
    @media (min-width: 363px) and (max-width: 405px) { .hero-title { font-size: 1.50rem !important; } }
        @media (min-width: 769px) and (max-width: 802px) { .hero-title { font-size: 1.70rem !important; } }
    @media (min-width: 802px) and (max-width: 852px) { .hero-title { font-size: 1.90rem !important; } }    
    
  
@media (min-width: 769px) {
    
    .tabs-container {        
        background: #ffffff !important; 
        border: 1px solid rgba(79, 70, 229, 0.25) !important;
        box-shadow: var(--shadow-sm) !important;
        border-radius: var(--radius-xl) !important; 
        padding: 1.5rem 2rem !important;
        min-height: auto !important;
        margin-top: 1.5rem; 
    }
  
    .tabs-header {
        background: transparent !important;  
        padding: 0 !important;
        border-radius: 0 !important;
        justify-content: flex-start;  
        gap: 35px;           
        border-bottom: 2px solid rgba(226, 232, 240, 0.5);
        margin-bottom: 2rem; 
    }
    
    .tab-btn {
        flex: initial;
        width: auto;
        padding: 12px 0 !important; 
        background: transparent !important;
        color: #64748b; 
        font-weight: 600;
        font-size: 1.05rem;
        border-radius: 0 !important;
        position: relative;
        transition: color 0.3s ease;
    }
   
    .tab-btn:hover {
        color: #4f46e5; 
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .tab-btn.active {
        color: #0f172a !important; 
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .tab-btn.active::after { display: none !important; }
   
    .tabs-header .tab-btn.active::before {
            content: '';
            position: absolute;
            bottom: -2px;  
            left: 0;
            width: 100%;
            height: 3px;  
            background-color: #4f46e5;  
            border-radius: 3px 3px 0 0;
            animation: fadeIn 0.3s ease;
    }
}

    #page-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #020617; 
        z-index: 9999; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    }
   
    #page-loader.loaded {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .loader-logo-box {
        position: relative;
        width: 100px;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .loader-logo-box img {
        width: 60px;
        height: auto;
        z-index: 2;
        animation: pulseLogo 2s infinite ease-in-out;
        filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.5));
    }
   
    .loader-ring {
        position: absolute;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: var(--primary);
        border-right-color: var(--primary-light);
    }

    .ring-1 {
        width: 100%;
        height: 100%;
        animation: spin 1.5s linear infinite;
        border-width: 3px;
    }
    .ring-2 {
        width: 70%;
        height: 70%;
        border-top-color: var(--accent);
        border-right-color: transparent;
        animation: spinReverse 2s linear infinite;
        border-width: 2px;
    }

    .loader-text {
        color: #fff;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        letter-spacing: 1px;
        font-size: 1.1rem;
        opacity: 0;
        transform: translateY(10px);
        animation: fadeTextUp 0.8s ease-out forwards 0.3s;
    }
    
    .loader-text span { color: var(--primary-light); }
   
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes spinReverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
    @keyframes pulseLogo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
    @keyframes fadeTextUp { to { opacity: 1; transform: translateY(0); } }    
   
    body.page-loaded .sidebar { animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
    body.page-loaded .main-wrapper { animation: slideInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

    @keyframes slideInLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
    @keyframes slideInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    
    .altmetin {
    color: #f8fafc !important;
    }
    
    @media (max-width: 768px) {
    .altmetin {
    color: #020617 !important;
    }
}