/* ==========================================================================
   SIDEBAR REDESIGN - MODERN DARK THEME
   Matching login page aesthetic
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL & RESET STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Main Colors - matching login page */
    --bg-primary: #0f0f13;
    --bg-secondary: #1a1a20;
    --bg-tertiary: #24242a;
    --bg-hover: #2b2d31;
    
    /* Accent Colors */
    --accent-primary: #6366f1;
    --accent-hover: #7c3aed;
    --accent-danger: #ef4444;
    
    /* Text Colors */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    /* Border Colors */
    --border-color: #27272a;
    --border-light: #3f3f46;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

/* ==========================================================================
   2. SIDEBAR LAYOUT
   ========================================================================== */
.sidebar-nav {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 5px;
    margin-left: 0;
    width: calc(20% - 5px);
    min-width: 200px;
    height: calc(97vh - 60px);
    /* height: 100%; */
    top: 3px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Folder Container */
.folder-container {
    flex: 1;
    padding: 5px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* List Wrapper */
.list-wrapper {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   3. FOLDER ITEM (PARENT)
   ========================================================================== */
.folder-item {
    width: 100%;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

/* Folder Header */
.folder-item div.item-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 5px;
    margin: 0;
    background-color: transparent;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.folder-item div.item-header:hover {
    background-color: var(--bg-hover);
}

.folder-item div.item-header:active {
    transform: scale(0.98);
}

.folder-item div.item-header p.label {
    position: relative;
    flex: 1;
    margin-left: 0;
    margin-right: auto;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Folder Icons */
.folder-item div.item-header svg {
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.folder-item div.item-header svg.folder-icon {
    width: 22px;
    height: 22px;
}

.folder-item div.item-header svg.folder-icon path {
    stroke-width: 0;
    fill-opacity: 0.9;
    transition: fill 0.2s ease;
}

.folder-item div.item-header:hover svg.folder-icon path {
    fill-opacity: 1;
}

/* Expand/Collapse Icons */
.folder-item div.item-header svg.icon-collapsed,
.folder-item div.item-header svg.icon-expanded {
    width: 15px;
    height: 15px;
    margin-right: 4px;
}

.folder-item div.item-header svg polyline {
    fill: none;
    stroke: var(--text-secondary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.folder-item div.item-header:hover svg polyline {
    stroke: var(--text-primary);
}

.folder-item div.item-header svg.icon-expanded {
    display: none;
}

.folder-item.is-expanded div.item-header svg.icon-collapsed {
    display: none;
}

.folder-item.is-expanded div.item-header svg.icon-expanded {
    display: block;
}

/* Folder Content */
.folder-item div.item-content {
    display: none;
    margin-left: 12px;
    background-color: transparent;
    animation: slideDown 0.2s ease;
}

.folder-item.is-expanded > .item-content {
    display: block;
}

.folder-item:hover > div.item-content {
    border-left: 1px solid var(--border-color);
    margin-left: 11px;
}

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

.item-content .list-wrapper {
    min-height: 10px;
}

/* ==========================================================================
   4. PROJECT ITEM (CHILD)
   ========================================================================== */
.project-item-child {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px;
    margin-left: 0px;
    background-color: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.project-item-child:hover {
    background-color: var(--bg-hover);
}

.project-item-child:active {
    transform: scale(0.98);
}

.project-item-child p {
    flex: 1;
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Project Icon */
.project-item-child svg.project-icon {
    width: 10px;
    height: 10px;
    margin-right: 10px;
    margin-left: 5px;
    flex-shrink: 0;
}

.project-item-child svg.project-icon circle {
    stroke-width: 0;
    filter: drop-shadow(0 0 3px currentColor);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.project-item-child:hover svg.project-icon circle {
    opacity: 1;
}

/* ==========================================================================
   5. ACTION BUTTONS (MORE/MODAL TRIGGER)
   ========================================================================== */
.folder-item div.item-header div.modal-more,
.project-item-child div.modal-more {
    display: none;
    opacity: 0;
    width: 25px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.folder-item div.item-header div.modal-more {
    position: relative;
}

.folder-item div.item-header:hover div.modal-more,
.project-item-child:hover div.modal-more {
    display: flex;
    opacity: 1;
}

.folder-item div.item-header div.modal-more:hover,
.project-item-child div.modal-more:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
}

.folder-item div.item-header div.modal-more svg.action-more {
    position: relative;
    /* top: 1px; */
    left: 2px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.project-item-child div.modal-more svg.action-more {
    position: relative;
    /* bottom: 3px; */
    width: 25px;
    height: 25px;
    cursor: pointer;
}

svg.action-more circle {
    fill: var(--text-secondary);
    transition: fill 0.2s ease;
}

.modal-more:hover svg.action-more circle {
    fill: var(--text-primary);
}

/* ==========================================================================
   6. SIDEBAR ACTIONS (BOTTOM AREA)
   ========================================================================== */
.sidebar-actions {
    display: flex;
    margin-top: auto;
    padding: 0 10px 10px 10px;  /* ← Thêm padding left/right */
    background-color: transparent;
}

.add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.add-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.add-button:active {
    transform: translateY(0);
}

.add-button p {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background-color: transparent;
}

.add-button:hover p,
.add-button:hover .icon-plus svg {
    color: white;
    fill: white;
}

.add-button:hover .icon-folder-plus svg {
    stroke: white;
}

.icon-plus {
    margin-right: 5px;
    background-color: transparent;
}

.icon-plus svg {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    margin-left: 5px;
    fill: white;
    background-color: transparent;
}

.icon-folder-plus {
    position: relative;
    top: 2px;
    margin-left: auto;
    margin-right: 0px;
    background-color: transparent;
}

.icon-folder-plus svg {
    width: 25px;
    height: 25px;
    stroke: white;
    background-color: transparent;
}

.icon-folder-plus svg path {
    fill: none;
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
    mask: url(#folder-mask);
}

.icon-folder-plus svg path {
    fill: none;
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    mask: url(#folder-mask);
}

/* ==========================================================================
   7. DRAG & DROP STATES
   ========================================================================== */
.drag-ghost {
    opacity: 0.4;
    background-color: var(--bg-hover) !important;
    border: 1px dashed #00FFFF;
}

.sortable-ghost {
    opacity: 0.5;
    background-color: var(--bg-hover) !important;
    border: 2px dashed var(--accent-primary);
    border-radius: var(--radius-sm);
}

.sortable-drag {
    opacity: 0.8;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   8. MODAL UI COMPONENTS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay.show-add .modal-box {
    display: flex;
}

.modal-overlay.show-more .modal-more-box {
    display: flex;
}

/* Modal Box Structure */
.modal-box,
.modal-more-box {
    display: none;
    flex-direction: column;
    width: 380px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.modal-tabs button {
    flex: 1;
    padding: 10px 16px;
    background-color: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-tabs button:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.modal-tabs button.btn-tab-folder {
    background: var(--accent-primary);
    color: white;
}

.modal-tabs button.btn-tab-project {
    background: transparent;
    color: white;
}

/* Form Elements */
.folder-form,
.project-form,
.form {
    margin-bottom: 20px;
}

.project-form {
    display: none;
}

.input-group {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.input-group:focus-within {
    background-color: var(--bg-hover);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modal-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    outline: none;
    letter-spacing: 0.01em;
}

.modal-input::placeholder {
    color: var(--text-tertiary);
}

/* Color Palette */
.color-palette {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
    border-color: var(--border-light);
}

.color-swatch.selected {
    border-color: white;
    box-shadow: 0 0 0 2px var(--bg-secondary), 0 0 12px currentColor;
    transform: scale(1.1);
}

.color-swatch.selected::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Confirm Box */
.confirm-box {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.confirm-box p {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-box p:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-light);
}

.confirm-box .btn-accept {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.confirm-box .btn-accept:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.confirm-box .btn-delete {
    background: transparent;
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}

.confirm-box .btn-delete:hover {
    background: var(--accent-danger);
    color: white;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 250px) {
    .sidebar-nav {
        width: 100%;
        min-width: 100%;
    }
    
    .modal-box,
    .modal-more-box {
        width: 90%;
        max-width: 380px;
    }
}

/* ==========================================================================
   10. ACCESSIBILITY & UTILITIES
   ========================================================================== */
.folder-item div.item-header:focus-visible,
.project-item-child:focus-visible,
.add-button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: var(--accent-primary);
    color: white;
}

/* =================================================================
   11. EMPTY STATE - Thêm vào CSS
   ================================================================= */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state svg {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
}

/* Animation cho empty state */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state svg {
    animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   SKELETON LOADING - sidebar_nav
   ========================================================================== */

@keyframes sk-shimmer {
    0%   { background-position: -300px 0; }
    100% { background-position: calc(300px + 100%) 0; }
}

.sidebar-skeleton {
    padding: 2px 0;
    width: 100%;
}

.sidebar-skeleton-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.sidebar-skeleton-item.indent {
    padding-left: 30px;
}

.sk-icon {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    flex-shrink: 0;
}

.sk-icon.circle {
    border-radius: 50%;
    width: 14px;
    height: 14px;
}

.sk-text {
    height: 11px;
    border-radius: 4px;
}

.sidebar-skeleton .sk-icon,
.sidebar-skeleton .sk-text {
    background: linear-gradient(
        90deg,
        var(--bg-tertiary) 0px,
        var(--bg-hover)    80px,
        var(--bg-tertiary) 160px
    );
    background-size: 600px 100%;
    animation: sk-shimmer 1.4s ease-in-out infinite;
}

/* LOAD ERROR STATE */
.sidebar-load-error {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 6px;
    border-radius: var(--radius-sm);
}

.sidebar-load-error svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-tertiary);
    flex-shrink: 0;
}

.sidebar-load-error-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.sidebar-load-error-text p {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-load-error-text span {
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-retry-btn {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sidebar-retry-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ==========================================================================
   FOLDER FLOATING CARD
   ========================================================================== */

/* Overlay mờ phía sau card */
.folder-card-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 250;
    animation: fcFadeIn 0.2s ease;
}

.folder-card-overlay.active {
    display: block;
}

@keyframes fcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Floating card */
.folder-floating-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    width: 300px;
    max-height: 70vh;
    z-index: 260;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99,102,241,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s cubic-bezier(0.4,0,0.2,1),
                transform 0.2s cubic-bezier(0.4,0,0.2,1),
                visibility 0.2s;
    /* Override old sidebar-nav layout */
    width: 300px !important;
    min-width: unset !important;
    height: auto !important;
    margin: 0 !important;
    top: 50% !important;
}

.folder-floating-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Ẩn nút close cũ trong floating card */
.folder-floating-card .sidebar-close-btn {
    display: none;
}

/* ==========================================================================
   RESPONSIVE ≤ 768px
   ========================================================================== */
@media (max-width: 768px) {
    /* Floating card trên mobile: full-screen */
    .folder-floating-card {
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
    }
    .folder-floating-card.active {
        transform: none !important;
    }

    .sidebar-nav.mobile-open {
        transform: translateX(0);
    }

    /* --- SIDEBAR ACTIONS: add-button + close btn nằm cạnh nhau --- */
    .sidebar-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 0 10px max(16px, env(safe-area-inset-bottom)) 10px;
    }

    /* Add folder co lại, nhường chỗ cho nút X */
    .sidebar-actions .add-button {
        flex: 1;
        min-width: 0;
    }

    /* Nút X xuất hiện */
    .sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 46px;
        height: 46px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all 0.2s ease;
        color: var(--text-secondary);
    }

    .sidebar-close-btn:hover {
        background: var(--bg-hover);
        border-color: var(--border-light);
        color: var(--text-primary);
    }

    .sidebar-close-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Ẩn nút hamburger khi task detail đang mở */
    body.detail-open .sidebar-toggle-btn {
        display: none;
    }
}

/* ==========================================================================
   DESKTOP ≥ 769px: folder-floating-card becomes an in-flow right panel
   ========================================================================== */
@media (min-width: 769px) {
    /* Override all floating-card positioning → become a static right panel */
    .folder-floating-card {
        position: relative !important;
        top: unset !important;
        left: unset !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        /* Fixed width right panel */
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        max-height: unset !important;
        height: 100% !important;
        margin: 0 !important;
        flex-shrink: 0;

        /* Remove card chrome, blend into layout */
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: auto !important;
        border-left: 1px solid var(--border-color);
        background: var(--bg-secondary);

        /* No entrance animation in desktop mode */
        transition: none !important;
    }

    /* No backdrop needed on desktop */
    .folder-card-overlay { display: none !important; }

    /* "Folders" toolbar button is redundant on desktop — hide it */
    /* FAB default display:none đã đủ — không cần ẩn thêm */

    /* Close button inside panel — mobile-only */
    .folder-floating-card .sidebar-close-btn { display: none !important; }
}
/* ==========================================================================
   MOBILE FOLDER FAB + CLOSE BUTTON
   ========================================================================== */
.folder-fab { display: none; }
.folder-card-close { display: none; }

@media (max-width: 768px) {
    .folder-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: none;
        background: var(--accent-primary);
        color: #fff;
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        z-index: 240;
        transition: transform 0.15s ease;
    }
    .folder-fab:active { transform: scale(0.92); }

    .folder-card-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background: var(--bg-tertiary);
        color: var(--text-secondary);
        cursor: pointer;
        z-index: 10;
    }
    .folder-card-close:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
    }
}
