@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* CG Photobook Premium Palette */
    --brand-h: 210;
    --brand-s: 100%;
    --brand-l: 45%;
    
    --brand-color: hsl(var(--brand-h), var(--brand-s), var(--brand-l));
    --brand-gradient: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    
    --bg-main: #f8fafc;
    --bg-sidebar: rgba(255, 255, 255, 0.6);
    --bg-card: #ffffff;
    
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-glass: rgba(255, 255, 255, 0.3);
    --border-soft: rgba(0, 0, 0, 0.05);
    
    --shadow-soft: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    
    /* Functional Colors */
    --color-done: #10b981;
    --color-working: #f59e0b;
    --color-stuck: #f43f5e;
    --color-empty: #f1f5f9;
    
    /* Animation */
    --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 0.3s var(--ease-out);

    /* Layout */
    --col-selection-width: 44px;
    --col-updates-width: 44px;
    --col-task-width: 1.5fr;
    --col-person-width: 120px;
    --col-status-width: 150px;
    --col-date-width: 130px;
    --col-priority-width: 130px;
    --col-add-width: 50px;

    --grid-template: var(--col-selection-width) var(--col-updates-width) var(--col-task-width) var(--col-person-width) var(--col-status-width) var(--col-date-width) var(--col-priority-width) var(--col-add-width);
    --row-height: 44px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* App Layout with subtle organic background */
.app-container {
    display: flex;
    height: 100vh;
    background: radial-gradient(circle at 0% 0%, hsl(var(--brand-h), 20%, 95%) 0%, #f8fafc 100%);
}

/* Sidebar - Expanded Professional Look */
.sidebar {
    width: 240px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
    z-index: 100;
    border-right: 1px solid var(--border-glass);
    transition: width var(--transition-smooth);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: 40px;
}

.sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.sidebar-logo::after {
    content: 'CG Photobook';
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.nav-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 14px;
    height: 52px;
    width: 100%;
    padding: 0 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    font-size: 15px;
}

.nav-item i {
    width: 20px;
    height: 20px;
}

.nav-item span {
    display: block;
}

.nav-item:hover {
    color: var(--brand-color);
    background: var(--bg-card);
    transform: translateX(4px);
    box-shadow: var(--shadow-soft);
}

.nav-item.active {
    color: #fff;
    background: var(--brand-gradient);
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

/* Header - Modern & Spaced */
.board-header {
    padding: 32px 48px;
    background: transparent;
    border-bottom: 1px solid var(--border-soft);
}

.board-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.board-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    outline: none;
    border: none;
    padding: 4px 0;
}

.board-description {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 600px;
}

.board-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    height: 44px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px -6px rgba(99, 102, 241, 0.5);
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: var(--brand-color);
    transform: translateY(-1px);
}

.action-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-soft);
    margin: 0 8px;
}

.icon {
    width: 18px;
    height: 18px;
}

/* Board Body */
.board-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

/* Group */
/* Group Container - Floating Card Look */
.group-container {
    margin-bottom: 48px;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
    --this-group-color: var(--brand-color);
}

.group-container:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-4px);
}

.group-header {
    padding: 20px 24px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.group-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--this-group-color);
    outline: none;
}

.group-color-icon {
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.group-color-icon:hover {
    opacity: 1;
    transform: rotate(15deg);
}

.item-count {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Grid Layout */
/* Grid Layout - Clean & Minimal */
.table-row {
    display: grid;
    grid-template-columns: var(--grid-template);
    min-height: var(--row-height);
    align-items: stretch;
    background-color: transparent;
    transition: var(--transition-smooth);
    border: none;
    border-bottom: 1px solid var(--border-soft);
}

.table-header {
    background: #f8fafc;
    border-bottom: 2px solid var(--border-soft);
}

.table-header .cell {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    justify-content: center;
}

/* Resizer Handle */
.resizer {
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    cursor: col-resize;
    z-index: 10;
}

.resizer:hover, .resizing .resizer {
    border-right: 2px solid var(--color-blue);
}

.table-header .cell-item-name {
    justify-content: flex-start;
}

/* Cells */
.cell {
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-right: 1px solid var(--color-border-light);
    position: relative;
    font-size: 13px;
    min-width: 0;
}

.cell:last-child {
    border-right: none;
}

.cell-selection {
    justify-content: center;
    border-right: 1px solid var(--color-border-light); /* Enforce border for first cell */
    position: relative;
}

/* The left colored thick bar on the checkbox cell */
.cell-selection::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.item-row:hover .cell-selection::before {
    background-color: #d0d4e4;
}

.item-row .cell-selection::before {
    background-color: var(--this-group-color);
}


.checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    cursor: pointer;
}
.checkbox:hover {
    background-color: var(--color-bg-main);
}

/* We don't use the separate color band cell anymore, we use ::before on selection */
.cell-color-band {
    display: none;
}

/* Conversations / Updates cell */
.cell-updates {
    justify-content: center;
    color: var(--color-text-secondary);
}
.cell-updates .update-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.3;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}
.item-row:hover .cell-updates .update-icon {
    opacity: 1;
}
.cell-updates .update-icon:hover {
    color: var(--color-blue);
}

.cell-item-name {
    padding-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: none;
    position: relative;
}
.cell-item-name span {
    outline: none;
    width: 100%;
    padding: 4px 8px;
    margin-left: -8px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    display: inline-block;
}
.cell-item-name span:hover {
    background-color: var(--color-bg-main);
    border-color: var(--color-border-light);
    cursor: text;
}
.cell-item-name span:focus {
    background-color: #fff;
    border-color: #0073ea;
    box-shadow: 0 0 0 2px rgba(0,115,234,0.1);
}

/* Delete Icon on Hover */
.row-actions {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    display: flex;
    gap: 4px;
}
.item-row:hover .row-actions {
    opacity: 1;
}
.action-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-text-secondary);
}
.action-icon:hover {
    background-color: rgba(0,0,0,0.05);
    color: var(--color-stuck);
}

.cell-person {
    justify-content: center;
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    border: 2px solid #fff;
    cursor: pointer;
}
.avatar:empty::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c4c4c4" stroke-width="2"><circle cx="12" cy="8" r="4"></circle><path d="M20 21a8 8 0 00-16 0"></path></svg>') center/16px no-repeat;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.cell-status, .label-cell {
    color: white;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    border-radius: 12px;
    margin: 6px 8px;
    height: calc(var(--row-height) - 12px);
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition-smooth);
    border: none;
}

.cell-status:not(.table-header .cell-status):not(.progress-cell):hover,
.label-cell:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.status-done { background: #10b981; }
.status-working { background: #f59e0b; }
.status-stuck { background: #f43f5e; }
.status-empty { background: #e2e8f0; color: #94a3b8; }

.status-done { background-color: var(--color-done); }
.status-working { background-color: var(--color-working); }
.status-stuck { background-color: var(--color-stuck); }
.status-empty { background-color: var(--color-empty); }

.cell-date {
    justify-content: center;
    cursor: pointer;
}
.cell-date:hover {
    background-color: var(--color-bg-main);
}

.cell-add-column {
    justify-content: center;
    color: var(--color-text-secondary);
    cursor: pointer;
}

/* Row Hover states */
.item-row {
    transition: background-color 0.1s;
}

.item-row:hover {
    background-color: var(--color-bg-main);
}

.hover-show .checkbox {
    opacity: 0;
}
.item-row:hover .hover-show .checkbox {
    opacity: 1;
}

/* Add Item Row */
.add-item-row {
    border-bottom: 1px solid transparent;
}
.add-item-row:hover {
    background-color: var(--color-bg-main);
}
.add-item-input {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}
.add-item-input:focus {
    background-color: #fff;
    border-color: #0073ea;
    box-shadow: 0 0 0 2px rgba(0,115,234,0.1);
}

/* Progress Bar */
.progress-row .cell {
    border-right: none;
    border-bottom: none;
    padding-top: 4px;
}
.progress-cell {
    padding: 0 !important;
    background: transparent;
    cursor: default;
}
.progress-cell:hover {
    filter: none !important;
}
.progress-cell::after {
    display: none;
}
.progress-bar-container {
    width: 100%;
    height: 24px;
    display: flex;
    overflow: hidden;
}
.progress-segment {
    height: 100%;
    transition: width 0.3s ease;
}

/* Dropdowns - Floating Glass */
.status-dropdown, .color-dropdown {
    position: fixed;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    z-index: 3000;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: modalSlideIn 0.3s var(--ease-out);
}

.status-dropdown { width: 220px; }
.color-dropdown {
    width: 240px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

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

.status-dropdown.hidden, .color-dropdown.hidden {
    display: none;
}

/* Rectangle status options exactly like screenshot */
.status-option {
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.status-option:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.status-option.editing:hover {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: -4px;
}

.status-color-btn {
    position: absolute;
    left: 6px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-color-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.status-color-btn i {
    width: 12px !important;
    height: 12px !important;
    color: white;
}

.status-option span {
    width: 100%;
    outline: none;
    border-radius: 2px;
    padding: 2px;
    padding-left: 24px; /* Space for color button */
}

.status-option:not(.editing) span {
    padding-left: 2px;
}

.status-option span[contenteditable="true"] {
    cursor: text;
    background: rgba(0,0,0,0.1);
    border: 1px dotted rgba(255,255,255,0.5);
}

.status-option span[contenteditable="true"]:focus {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
}

.edit-labels-divider {
    height: 1px;
    background-color: var(--color-border-light);
    margin: 4px 0;
}

.edit-labels-btn, .add-label-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    font-size: 13px;
    color: var(--color-text-main);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

.edit-labels-btn:hover, .add-label-btn:hover {
    background-color: var(--color-bg-main);
}


.color-option {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.1s, box-shadow 0.1s;
    border: 1px solid rgba(0,0,0,0.05);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Editable fields and Dynamic Columns */
.date-picker {
    border: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--color-text-main);
    background: transparent;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}
.date-picker:hover {
    background: var(--color-bg-main);
}
.date-picker:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,115,234,0.1);
}

.avatar[contenteditable="true"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px #0073ea;
    background-color: #fff;
    color: #000;
}

.action-add-col {
    cursor: pointer;
    transition: all var(--transition-fast);
}
.action-add-col:hover {
    background-color: var(--color-bg-main);
    color: var(--color-blue);
}

.custom-text-cell {
    justify-content: center;
}
.custom-text-cell span {
    width: 100%;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    outline: none;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}
.custom-text-cell span:hover {
    background-color: var(--color-bg-main);
    border-color: var(--color-border-light);
    cursor: text;
}
.custom-text-cell span:focus {
    background-color: #fff;
    border-color: #0073ea !important;
    box-shadow: 0 0 0 2px rgba(0,115,234,0.1);
}

/* Custom Modal System - Glass Overlays */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.modal-overlay.hidden, .hidden {
    display: none !important;
}

.modal-box {
    background: var(--bg-card);
    width: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.4s var(--ease-out);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-soft);
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
    font-size: 15px;
    color: var(--text-secondary);
}

.modal-footer {
    padding: 20px 32px;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-soft);
}

.modal-body input {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.modal-body input:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.modal-body .radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.modal-body .radio-option {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: var(--transition-smooth);
    background: #fff;
}

.modal-body .radio-option:hover {
    border-color: var(--brand-color);
    background: var(--bg-main);
}

.modal-body .radio-option.selected {
    border-color: var(--brand-color);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: inset 0 0 0 1px var(--brand-color);
}

.modal-body .radio-option input {
    width: auto;
    margin: 0;
}

/* Sidebar Groups List */
.sidebar-groups-list {
    margin: 4px 12px 16px 36px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 1px solid var(--border-soft);
    padding-left: 12px;
}

.sidebar-group-item {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    user-select: none;
}

.sidebar-group-item.active {
    background: var(--bg-card);
    color: var(--brand-color);
    box-shadow: inset 3px 0 0 0 var(--brand-color);
    font-weight: 600;
}

.sidebar-group-item.active .group-dot {
    transform: scale(1.5);
    box-shadow: 0 0 0 2px var(--bg-main);
}

.sidebar-group-item:hover {
    background: var(--bg-card);
    color: var(--brand-color);
    transform: translateX(4px);
}

.sidebar-group-item .group-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 8px;
}

.sidebar-group-menu-btn {
    opacity: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.sidebar-group-item:hover .sidebar-group-menu-btn {
    opacity: 0.6;
}

.sidebar-group-menu-btn:hover {
    opacity: 1 !important;
    background: var(--border-soft);
}

/* Global Header Search */
.header-search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.global-search-input {
    width: 200px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: white;
    font-size: 14px;
    outline: none;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-small);
}

.global-search-input.hidden {
    width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border: none;
}

/* Draggable Columns */
.table-header .cell[draggable="true"] {
    cursor: grab;
}

.table-header .cell.dragging {
    opacity: 0.4;
    background: #e2e8f0;
}

.table-header .cell.drag-over {
    border-left: 2px solid var(--brand-color);
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: var(--shadow-float);
    padding: 8px;
    z-index: 5000;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.context-menu-item {
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.context-menu-item:hover {
    background: var(--bg-main);
    color: var(--brand-color);
}

.context-menu-item.delete:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* Sync Status Indicator */
.sync-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 12px;
    padding: 3px 10px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-small);
}

.sync-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.sync-status.syncing .sync-dot {
    background: #3b82f6;
    animation: pulse 1s infinite;
}

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