:root {
    /* Primary Color Palette - Electric */
    --primary: #7B61FF;
    --primary-light: #9D8AFF;
    --secondary: #00F2FF;
    --accent: #FF2D95;

    /* Dark Mode Palette */
    --bg-dark: #05070A;
    --bg-card: rgba(23, 26, 35, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --text-dim: #718096;

    --success: #00FF94;
    --error: #FF4757;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-primary: 0 0 15px rgba(123, 97, 255, 0.3);
}

.dashboard-body {
    background: var(--bg-dark);
    height: 100vh;
    overflow: hidden;
    color: var(--text-main);
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .dashboard-body {
        height: auto !important;
        overflow: auto !important;
    }

    .grid-2-col {
        grid-template-columns: 1fr !important;
    }
}

.dashboard-container {
    display: flex;
    height: 100vh;
    padding: 1.5rem;
    gap: 1.5rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(123, 97, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 242, 255, 0.05) 0%, transparent 50%);
    position: relative;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    z-index: 10;
    opacity: 0.5;
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    border-radius: 20px;
}

.sidebar-header {
    margin-bottom: 0.5rem;
    text-align: center;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for Sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    border-radius: 12px;
    transition: var(--transition-base);
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.nav-item.mt-auto {
    margin-top: auto;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    transform: translateX(5px);
}

.nav-item.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.active .icon {
    filter: brightness(0) invert(1);
}

.nav-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 0.25rem 0;
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-top: 0.5rem;
    width: 100%;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-info {
    overflow: hidden;
}

.user-info .name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info .meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 1.5rem;
    /* Increased padding for scrollbar */
}

/* Styled Scrollbars */
.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-track {
    background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid transparent;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(5, 7, 10, 0.6);
    padding: 1rem 0;
    margin-bottom: 0.5rem !important;
    width: 100%;
}

.search-bar {
    position: relative;
    width: 400px;
}

.search-bar input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 12px;
    color: white;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.top-actions {
    display: flex;
    gap: 1rem;
}

/* Content Area */
.welcome-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.welcome-header p {
    color: var(--text-muted);
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-data .val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-data .label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* --- PROFESSIONAL NOTE HUB STYLES --- */
.subject-tabs-nav {
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2rem;
}

.subject-tab {
    padding: 1rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-base);
}

.subject-tab:hover {
    color: var(--text-main);
}

.subject-tab.active {
    color: var(--text-main);
}

.subject-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

/* Drive Tabs */
.drive-tab {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.drive-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.drive-tab.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.4);
}

.notes-list-container-pro {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.note-card-pro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: rgba(10, 12, 16, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    position: relative;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.note-card-pro::before {
    display: none;
}

.note-card-pro:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(123, 97, 255, 0.4);
    box-shadow: var(--glow-primary);
    transform: translateY(-4px);
}

.note-icon-pro {
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border: 1px solid rgba(0, 242, 255, 0.1);
    flex-shrink: 0;
}

.note-info-pro {
    flex: 1;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.unit-tag-pro {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.note-title-pro {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
}

.note-actions-pro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.meta-pills-row-pro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.meta-pill-pro {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: transparent !important;
    padding: 0;
}

.meta-pill-pro.uploader {
    color: var(--text-muted) !important;
}

.note-tools-pro {
    display: flex;
    gap: 0.75rem;
    margin-right: 2rem;
}

.tool-icon-pro {
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    padding: 6px;
    border-radius: 8px;
    background: transparent;
}

.tool-icon-pro:hover {
    color: var(--secondary);
    background: rgba(0, 242, 255, 0.1);
    transform: scale(1.1);
}

.tool-icon-pro.active {
    color: var(--secondary);
    background: rgba(0, 242, 255, 0.1);
}

.tool-icon-pro.active svg {
    fill: currentColor;
}

.btn-download-white {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), white);
    color: #05070a;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-download-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.btn-download-white:hover::after {
    left: 150%;
}

.btn-download-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}


/* --- MAIN CONTENT HUB --- */
.notes-main-hub {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-card);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

/* Hero Section Pro */
.hub-hero-section-pro {
    background: linear-gradient(135deg, rgba(23, 26, 35, 0.8), rgba(123, 97, 255, 0.05));
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--glow-primary);
}

.hub-hero-section-pro::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.badge-accent {
    display: inline-block;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.search-bar-pro {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    max-width: 600px;
}

.search-bar-pro input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

/* Grid & Cards Pro */
.notes-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.note-card-dynamic {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
}

.note-card-dynamic:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    z-index: 5;
}

.card-content {
    padding: 2rem;
}

.subject-tag {
    font-size: 0.65rem;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.note-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-dim);
    font-size: 0.8rem;
}

.note-analytics-footer {
    padding-top: 1rem;
}

.analytics-chips {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Pro */
.stat-item-pro {
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: var(--transition-base);
}

/* Common Classes */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--secondary);
}

.font-heading {
    font-family: var(--font-heading);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-pro::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Hub Main Content Area */
.notes-main-hub {
    flex: 1;
    overflow-y: auto;
    background: #05070a;
}

.subject-hub-page {
    padding: 3rem 4rem;
    animation: fadeIn 0.4s ease-out;
}

.hub-breadcrumb {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
}

.hub-breadcrumb span:not(:last-child):after {
    content: '›';
    margin-left: 0.5rem;
    opacity: 0.5;
}

.subject-hero-section {
    margin-bottom: 3rem;
}

.subject-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subject-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sub-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sub-badge.accent {
    background: rgba(0, 229, 255, 0.1);
    color: var(--secondary);
}

.subject-description-pro {
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 800px;
    font-size: 1.1rem;
}

/* Medinotes Style Hub */
.medinotes-hub-header h1 {
    line-height: 1.1;
    letter-spacing: -2px;
}

.subjects-grid {
    animation: fadeIn 0.8s ease-out;
}

.subject-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-base);
    cursor: pointer;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.subject-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.subject-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Common Utilities */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--secondary);
}

.font-heading {
    font-family: var(--font-heading);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Explorer Flow Styles */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-indicator:after {
    content: '';
    position: absolute;
    top: 20px;
    left: 42%;
    width: 16%;
    height: 1px;
    background: var(--border-glass);
    z-index: 0;
}

.step-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.3;
    transition: var(--transition-base);
}

.step-node.active {
    opacity: 1;
}

.step-node.completed {
    opacity: 0.6;
    color: var(--secondary);
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step-node.active .step-num {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.3);
    color: var(--primary-light);
}

.step-node.completed .step-num {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #05070a;
}

.step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.selection-card {
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
}

.selection-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.selection-card:active {
    transform: scale(0.98);
}

/* Featured Hub Home Styles */
.hub-badge-glow {
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.1);
}

.h-stat .val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.h-stat .lbl {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-card-hub {
    position: relative;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.featured-card-hub:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-badge-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.subject-tag-pro {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 0.5px;
}

.mini-avatar {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-main);
}

.hub-search-container input {
    transition: all 0.3s ease;
}

.hub-search-container input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
}

.hub-hero-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, transparent 100%);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

/* Verification Hub / Approval Section */
.verification-card-pro {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ver-status-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ver-status-badge.pending {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.ver-status-badge.verified {
    background: rgba(0, 229, 255, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Peer Review Action Group */
.peer-review-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-verify {
    background: rgba(0, 229, 255, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-verify:hover {
    background: var(--secondary);
    color: #05070a;
}

/* Advanced Resource Item (Unit Wise) */
.unit-section-title {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin: 3rem 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
}

.resource-list-pro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modal Enhancements for Preview */
.preview-modal-content {
    width: 90vw !important;
    max-width: 1000px !important;
    height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}

.preview-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-body {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
}

.empty-icon-pro {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

/* Restored Modals & Misc */
/* --- Advanced Subject Page --- */
.subject-page-hero {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2rem;
}

.breadcrumb-pro {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.sub-badges {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-description {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    font-size: 0.95rem;
}

/* Tabs */
.subject-content-tabs {
    display: flex;
    gap: 3rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 2.5rem;
}

.sub-tab {
    padding: 1rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition-base);
}

.sub-tab:hover {
    color: var(--text-main);
}

.sub-tab.active {
    color: var(--text-main);
}

.sub-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

/* Detailed List Items */
.resource-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detailed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: var(--transition-base);
}

.detailed-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left: 4px solid white;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.file-type-icon {
    font-size: 1.5rem;
    color: var(--secondary);
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.item-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.uploader-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uploader-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
}

.item-engagement-row {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.eng-icon {
    cursor: pointer;
    transition: var(--transition-base);
}

.eng-icon:hover {
    color: white;
}

.btn-download-pro {
    background: white;
    color: black;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-download-pro:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 550px;
    padding: 2.5rem;
}

.upload-context-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.upload-context-badge span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-light);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: white;
    outline: none;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* Grid & Items */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.priority.high {
    background: rgba(255, 0, 122, 0.1);
    color: #FF007A;
}

.priority.medium {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
}

@media (max-width: 768px) {
    .notes-hub-wrapper {
        flex-direction: column;
        height: auto;
        margin: 0;
    }

    .notes-sidebar-tree {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
    }

    .subject-hub-page {
        padding: 2rem;
    }
}

/* --- TOAST NOTIFICATIONS --- */
.toast-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.8rem;
    border-radius: 16px;
    z-index: 100000;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-popup.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-popup.success {
    border-left: 5px solid var(--success);
}

.toast-popup.error {
    border-left: 5px solid var(--error);
}

.toast-icon {
    font-size: 1.4rem;
}

.toast-message {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Sidebar Fixes for Overflow */
.sidebar {
    max-height: calc(100vh - 3rem);
}

.sidebar-header {
    flex-shrink: 0;
}

.user-profile-mini {
    flex-shrink: 0;
}

/* --- New Upload Note Modal Styles --- */
.upload-card {
    width: 600px;
    padding: 32px 36px 28px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(16, 24, 48, 0.96), rgba(5, 8, 20, 0.98));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(120, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: auto;
    /* Center in modal wrapper */
}

.upload-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(0, 255, 213, 0.16), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(123, 97, 255, 0.2), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.upload-card h2 {
    position: relative;
    margin: 0;
    font-size: 24px;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #e8f0ff, #7af3ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: fit-content;
}

.subtitle {
    position: relative;
    margin: 6px 0 24px;
    font-size: 13px;
    color: #9caad6;
}

.upload-form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.upload-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #bcc7ff;
}

.upload-form .form-group.full {
    grid-column: 1 / -1;
}

.upload-form label {
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 11px;
    color: #93a0d9;
}

.upload-form input,
.upload-form select {
    border-radius: 12px;
    border: 1px solid rgba(114, 137, 255, 0.35);
    background: radial-gradient(circle at 0 0, rgba(86, 120, 255, 0.16), rgba(7, 9, 24, 0.96));
    padding: 10px 12px;
    color: #e8f0ff;
    font-size: 13px;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
}

/* --- UTILITIES --- */
.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #66ffe3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

.upload-form select option {
    background-color: #050814;
    color: #e8f0ff;
}

.upload-form input::placeholder {
    color: #6470a0;
}

.upload-form input:focus,
.upload-form select:focus {
    border-color: #66ffe3;
    box-shadow: 0 0 0 1px rgba(102, 255, 227, 0.3);
    background: radial-gradient(circle at 0 0, rgba(0, 255, 213, 0.12), rgba(7, 9, 24, 0.96));
}

.primary-btn {
    grid-column: 1 / -1;
    margin-top: 8px;
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    color: #050712;
    background: linear-gradient(120deg, #66ffe3, #7f7dff, #ff91f8);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.9),
        0 0 16px rgba(111, 255, 227, 0.55);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.primary-btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(111, 255, 227, 0.4);
}

.upload-form input[type="file"] {
    padding: 8px 10px;
    cursor: pointer;
}

.upload-form input[type="file"]::file-selector-button {
    margin-right: 10px;
    border: none;
    border-radius: 999px;
    padding: 7px 14px;
    background: linear-gradient(120deg, #66ffe3, #7f7dff);
    color: #050712;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

/* --- PREMIUM NOTE CARDS (SUBJECT PAGE) --- */
.detailed-item.glass-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-item.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(102, 255, 227, 0.2);
    transform: translateX(4px);
}

.item-left {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.note-icon-pro {
    color: #66ffe3;
    opacity: 0.9;
    padding-top: 4px;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.item-meta-row {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.uploader-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uploader-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-actions-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-btn-mini {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    color: var(--text-dim);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.action-btn-mini:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bookmark-icon {
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
}

.bookmark-icon:hover {
    color: #ff91f8;
}

.download-btn-pro {
    background: #ffffff;
    color: #050712;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

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

/* Responsive Grids for Explorer and Private Drive */
.explorer-grid-pro,
.private-files-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.private-files-grid-pro {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {

    .explorer-grid-pro,
    .private-files-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .explorer-grid-pro {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 1rem !important;
    }

    .private-files-grid-pro {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

@media (max-width: 1024px) {
    .dashboard-container {
        padding: 1rem;
        gap: 1rem;
    }

    .sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        /* Changed from overflow-y: auto */
        background: var(--bg-dark);
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        /* Hidden by default */
        width: 250px;
        height: 100vh;
        z-index: 10000;
        transition: left 0.3s ease;
        display: flex;
        background: rgba(5, 7, 10, 0.98);
        border-radius: 0;
        backdrop-filter: blur(20px);
    }

    .sidebar.active {
        left: 0;
    }

    .mobile-dashboard-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-glass);
        border-radius: 8px;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }

    .mobile-dashboard-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
        transition: 0.3s;
    }

    .main-content {
        padding-right: 0;
        overflow-y: visible;
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .dashboard-welcome-pane {
        padding: 1rem !important;
    }

    .top-bar {
        padding: 0.75rem 1rem;
        background: var(--bg-dark) !important;
        border-bottom: 1px solid var(--border-glass);
        margin-bottom: 0 !important;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .search-bar {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
    }

    .dashboard-welcome-pane h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
    }

    .dashboard-welcome-pane p {
        font-size: 0.95rem !important;
        margin-top: 0.5rem !important;
    }

    .dashboard-welcome-pane .waving-hand {
        display: inline-block;
        font-size: 1.5rem;
        vertical-align: middle;
        margin-left: 5px;
    }

    .stats-grid {
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .top-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .welcome-header h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .welcome-header p {
        text-align: center;
        font-size: 0.9rem;
    }

    .stats-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    /* Hub Responsive */
    .notes-hub-wrapper {
        flex-direction: column;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .notes-sidebar-tree {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
        padding: 1rem 0;
    }

    .subject-hub-page {
        padding: 1rem;
    }

    .subject-hero-section h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .detailed-item.glass-card {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .item-left {
        gap: 1rem;
    }

    .item-title {
        font-size: 1rem;
    }

    .item-meta-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .item-actions-bottom {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn-download-pro {
        width: 100%;
        justify-content: center;
    }

    /* Step Indicator Mobile */
    .step-indicator {
        gap: 0.75rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
    }

    .step-indicator::after {
        display: none !important;
    }

    .step-node .step-label {
        font-size: 0.65rem !important;
        letter-spacing: 0;
    }

    .step-num {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }

    .explorer-header {
        padding-top: 5rem !important;
    }

    #explorer-back-container {
        top: 1.25rem !important;
        left: 1rem !important;
    }

    #explorer-main-title {
        font-size: 1.5rem !important;
    }

    #explorer-back-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }

    /* Subject Page Mobile Fixes */
    .subject-page-container {
        padding-top: 0;
    }

    .subject-title-pro {
        font-size: 1.8rem !important;
        margin-top: 1rem !important;
    }

    .subject-page-hero>div {
        flex-direction: column !important;
        gap: 1.25rem;
    }

    .ai-btns-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .ai-btns-row button {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 0.8rem 1rem !important;
    }

    .subject-actions-top {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .subject-actions-top button {
        width: 100%;
        font-size: 0.75rem !important;
        padding: 0.6rem !important;
    }

    .subject-tabs-nav {
        gap: 1.5rem !important;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .subject-tab {
        white-space: nowrap;
        font-size: 0.9rem !important;
    }

    /* Note Card Pro Fixes */
    #final-notes-view {
        padding: 1rem 1rem !important;
        margin-top: 1rem;
        /* Adjusted buffer */
    }

    .note-card-pro {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.25rem !important;
        gap: 1rem;
    }

    .note-info-pro {
        margin-left: 0 !important;
        gap: 0.2rem;
    }

    .download-section-pro {
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-download-white {
        width: 100%;
        justify-content: center;
        padding: 0.8rem !important;
    }

    /* Prevent overlap with back-to-top button */
    #back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        z-index: 1000;
    }
}

@media (max-width: 480px) {
    #instant-view {
        padding: 1rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .glass-card {
        padding: 1rem !important;
    }
}

/* --- PROFESSIONAL ANIMATIONS & INTERACTIONS --- */

/* Card Entrance Animation */
@keyframes rowEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-reveal {
    animation: rowEntrance 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Starte hidden */
}

/* Hover Glow Effect for Note Cards */
.note-card-pro:hover {
    box-shadow: var(--glow-primary);
    border-color: rgba(123, 97, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.note-card-pro:hover .note-icon-pro {
    background: rgba(0, 242, 255, 0.2);
    color: white;
    transform: scale(1.1) rotate(5deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.note-card-pro:active {
    transform: scale(0.99);
}


/* Interaction Buttons (Like, etc) */
.tool-icon-pro:active {
    transform: scale(0.9);
}

.tool-icon-pro svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-icon-pro:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px rgba(255, 45, 149, 0.6));
}

/* Download Button Shimmer & Hover */
.btn-download-white {
    position: relative;
    overflow: hidden;
}

.btn-download-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.5s;
    transform: skewX(-20deg);
}

.btn-download-white:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Loader Animation */
.loader-pro {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

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

/* Stagger Delay for Lists */
.note-card-pro:nth-child(1) {
    animation-delay: 0.05s;
}

.note-card-pro:nth-child(2) {
    animation-delay: 0.1s;
}

.note-card-pro:nth-child(3) {
    animation-delay: 0.15s;
}

.note-card-pro:nth-child(4) {
    animation-delay: 0.2s;
}

.note-card-pro:nth-child(5) {
    animation-delay: 0.25s;
}

.note-card-pro:nth-child(6) {
    animation-delay: 0.3s;
}

.note-card-pro:nth-child(7) {
    animation-delay: 0.35s;
}

.note-card-pro:nth-child(8) {
    animation-delay: 0.4s;
}

.note-card-pro:nth-child(9) {
    animation-delay: 0.45s;
}

.note-card-pro:nth-child(10) {
    animation-delay: 0.5s;
}