/* General Workspace Styling */
:root {
    --bg-color: #1a1b1e;
    --sidebar-bg: #2c2e33;
    --text-main: #e4e5e7;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --page-bg: #ffffff;
    --page-text: #000000;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59,130,246,0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139,92,246,0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.app-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.workspace-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px; /* Slimmer left sidebar */
    background: rgba(44, 46, 51, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    z-index: 10;
    flex-shrink: 0;
}

.right-sidebar {
    width: 300px;
    background: rgba(44, 46, 51, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    z-index: 10;
    flex-shrink: 0;
}

.sidebar h2 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.control-group {
    background: rgba(255,255,255,0.03);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.control-group:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.control-group h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bbb;
    display: flex;
    align-items: center;
}

.hint {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 120px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    padding: 10px;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    margin-bottom: 10px;
}

textarea:focus {
    outline: none;
    border-color: var(--accent);
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
    width: 100%;
    margin-bottom: 5px;
}

.primary-btn {
    background: var(--accent);
    color: white;
}

.primary-btn:hover {
    background: var(--accent-hover);
}

.tool-btn {
    background: #4a4d55;
    color: white;
}

.tool-btn:hover {
    background: #5c5f68;
}

/* Sidebar Specific Buttons */
.sidebar .tool-btn, .sidebar .danger-btn {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.sidebar .tool-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}
.sidebar .tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Format Toolbar Grid & Groups */
.toolbar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.toolbar-grid .tool-btn {
    width: 100%;
    margin-bottom: 0;
    padding: 8px 0;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.toolbar-grid .tool-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Grouped Toolbar */
.format-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.toolbar-group {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1px;
}

.toolbar-group .tool-btn,
.toolbar-group .color-picker-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    width: 32px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--text-main);
    transition: background 0.2s;
    font-size: 16px;
}

.toolbar-group .tool-btn:hover,
.toolbar-group .color-picker-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
    border-color: transparent;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.color-picker-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.color-picker-wrapper input[type="color"] {
    padding: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.sidebar .danger-btn {
    background: rgba(220, 38, 38, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.25);
    margin-top: 15px;
}
.sidebar .danger-btn:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed rgba(255,255,255,0.15);
    text-align: center;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    background: rgba(0,0,0,0.2);
}

.drop-zone p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.drop-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

/* Keyboard Shortcuts */
.shortcut-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.shortcut-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}
.shortcut-list kbd {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    color: #ddd;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Workspace */
.workspace {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.toolbar {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: rgba(44, 46, 51, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    width: 210mm;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tool-btn, .primary-btn {
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.toolbar .primary-btn {
    background: var(--accent);
    border-color: var(--accent-hover);
}

.primary-btn:hover {
    background: var(--accent-hover);
}

select.tool-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

select.tool-btn option {
    background: #2c2e33;
    color: var(--text-main);
}

select.tool-btn:focus {
    border-color: var(--accent);
}

.toolbar-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
    height: 24px;
    align-self: center;
}

.toolbar-spacer {
    flex-grow: 1;
}

/* A4 Page Layout */
.a4-page {
    width: var(--page-width, 210mm);
    height: var(--page-height, 297mm);
    background: var(--page-bg-color, var(--page-bg));
    color: var(--page-text);
    padding: var(--margin-top, 1in) var(--margin-right, 1in) var(--margin-bottom, 1in) var(--margin-left, 1in);
    box-sizing: border-box;
    border: 1px solid #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    margin-bottom: 30px;
    overflow: hidden; /* Prevent text bleeding out of the page boundary */
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

/* Margins handled by CSS variables */

/* Page Numbers */
.page-number {
    position: absolute;
    bottom: 5mm;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #666;
    display: none;
}
.show-page-nums .page-number {
    display: block;
}

/* Page Divider */
.page-divider {
    position: absolute;
    top: var(--margin-top, 15mm);
    bottom: var(--margin-bottom, 15mm);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
    
    /* Defaults */
    border-left-width: var(--div-size, 1px);
    border-left-style: var(--div-style, dashed);
    border-left-color: #000;
    
    /* Ensure background prints for custom dashed gradients */
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
}

/* Micro-text divider */
.page-divider.micro-text {
    border-left: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    font-size: var(--div-size, 8px);
    line-height: 1;
    overflow: hidden;
    color: #000;
    white-space: nowrap;
    opacity: 0.5; /* So it's not too harsh */
    word-break: break-all;
}

.content-columns {
    column-count: 2;
    column-gap: 15mm;
    height: 100%;
    column-fill: auto; /* Forces content to fill the left column before moving to the right */
    font-size: 15px;
    line-height: var(--doc-line-height, 1.5);
    outline: none; /* For contenteditable */
    word-break: break-word;
}

/* Scalable Brackets */
.bracket-wrapper {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle; /* Align nicely with equals sign */
}
.bracket-wrapper > .bracket {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: 300;
    transform: scaleY(1.8); /* Adjusted scale to better fit fractions */
    padding: 0 2px;
}

/* Content Editable Styles */
.content-columns {
    position: relative; /* For canvas overlay positioning */
}

/* Prevent empty divs from collapsing when contenteditable is false during exports */
.content-columns div,
.content-columns p {
    min-height: 1em;
}

/* Reset margins for p and headings to avoid huge gaps on Enter (especially if pasted from outside) */
.content-columns p {
    margin: 0;
}

.drawing-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; /* By default, pass through clicks */
    z-index: 5;
}

.cursor-highlighter {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18.17 2.16l3.66 3.66-1.42 1.41-3.66-3.66 1.42-1.41zm-10.45 6.2c.4-.4 1.05-.4 1.45 0l4.5 4.5c.4.4.4 1.05 0 1.45L4.85 23.13 1 22.95l-.18-3.85 6.9-8.74zm5.53 1.95l1.9-1.9c.78-.78.78-2.05 0-2.83l-2.07-2.07c-.78-.78-2.05-.78-2.83 0l-1.9 1.9 4.9 4.9z" fill="%23fff" stroke="%23000" stroke-width="1"/></svg>') 0 24, text !important;
}

.cursor-pencil {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.127 22.562l-7.127 1.438 1.438-7.128 5.689 5.69zm1.414-1.414l11.228-11.225-5.69-5.692-11.227 11.227 5.689 5.69zm9.768-21.148l-2.816 2.817 5.691 5.691 2.816-2.819-5.691-5.689z" fill="%23fff" stroke="%23000" stroke-width="1"/></svg>') 0 24, crosshair !important;
}

.cursor-eraser {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 24h-12v-2h12v2zm7.151-14.73l-4.421-4.421-9.73 9.73 4.421 4.421 9.73-9.73zm2.849-2.849l-5.698-5.698-1.579 1.579 5.698 5.698 1.579-1.579z" fill="%23fff" stroke="%23000" stroke-width="1"/></svg>') 0 24, crosshair !important;
}

.content-columns img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    cursor: pointer;
    border: 1px solid transparent;
    break-inside: avoid; /* Prevent breaking across columns */
    page-break-inside: avoid;
    box-sizing: border-box;
}

.content-columns img:hover {
    border: 1px dashed var(--accent);
}

.content-columns .katex-display {
    margin: 0.5em 0;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--sidebar-bg);
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 95vh;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: auto;
    padding: 0 10px;
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.canvas-container {
    background: #111;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

#imageCanvas {
    max-width: 100%;
    max-height: 60vh;
}

.editor-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.editor-controls button {
    width: auto;
    flex: 1;
    margin: 0;
}

.editor-controls input[type="color"] {
    height: 40px;
    width: 50px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: flex-end;
}

/* Prevent sub/sup from misaligning line height */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        max-height: 40vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }
    .workspace {
        padding: 20px 10px;
    }
    .toolbar, .a4-page {
        width: 100%;
        max-width: 210mm;
    }
    .a4-page {
        padding: 10mm;
        height: auto;
        min-height: 297mm;
    }
    .content-columns {
        column-count: 1; /* Drop to 1 column on small screens */
    }
    .a4-page::after {
        display: none; /* Hide middle line if 1 column */
    }
}

/* Print Settings */
@media print {
    @page {
        size: A4;
        margin: 0; /* Let .a4-page padding handle margins */
    }
    body {
        background: none;
        height: auto;
        overflow: visible;
    }


    .no-print, .sidebar, .modal {
        display: none !important;
    }
    .workspace {
        padding: 0;
        background: none;
        display: block;
        height: auto;
        overflow: visible;
    }
    .a4-page {
        box-shadow: none;
        border: none;
        margin: 0;
        width: 210mm !important;
        height: 297mm !important;
        max-height: 297mm !important;
        overflow: hidden !important;
        page-break-after: always;
        /* Preserve padding for margins */
    }
    .content-columns {
        height: 100% !important;
    }
}

/* Advanced Image Editing Wrapper */
.image-wrapper {
    display: inline-block;
    position: relative;
    margin: 5px;
    max-width: 100%;
    cursor: move;
}
.image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}
.image-wrapper .resizer {
    width: 10px;
    height: 10px;
    background: var(--accent);
    position: absolute;
    right: -5px;
    bottom: -5px;
    cursor: se-resize;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 5;
}
.image-wrapper:hover .resizer {
    opacity: 1;
}
.image-wrapper .edit-img-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.8);
    color: white;
    border: 2px solid white;
    border-radius: 50%; /* Make it circular */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1; /* Always visible */
    transition: background 0.2s, transform 0.2s;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.image-wrapper .edit-img-btn i {
    font-size: 14px;
}
.image-wrapper .edit-img-btn:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.image-wrapper .delete-img-btn {
    position: absolute;
    top: 5px;
    right: 42px;
    background: rgba(0,0,0,0.8);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: background 0.2s, transform 0.2s;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.image-wrapper .delete-img-btn i {
    font-size: 14px;
}
.image-wrapper .delete-img-btn:hover {
    background: var(--danger, #ff4d4d);
    transform: scale(1.1);
}

/* Table Grid Selection */
.table-grid-container {
    background: var(--sidebar-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    z-index: 200;
}
.table-grid-row {
    display: flex;
}
.table-grid-cell {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 1px;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
}
.table-grid-cell.selected {
    background: rgba(59, 130, 246, 0.4);
    border-color: var(--accent);
}
.table-grid-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-main);
    margin-top: 5px;
    font-family: inherit;
}


/* Ruler Styles */
.ruler-container {
    position: sticky;
    top: 0;
    z-index: 50;
    width: var(--page-width, 210mm);
    height: 24px;
    background-color: #f1f3f4;
    border: 1px solid #ccc;
    border-bottom: 1px solid #aaa;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

#rulerCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ruler-marker {
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: #1a73e8;
    cursor: ew-resize;
    z-index: 60;
}

.ruler-marker.left-marker {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

.ruler-marker.right-marker {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

/* Sleek Sliders */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    border: none;
}
