/* ========================================
   Professional Invoice & Bill Generator CSS
   ======================================== */

.invoice-body {
    background: var(--bg-primary);
    color: var(--text-primary);
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.invoice-main {
    flex: 1;
    display: flex;
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    overflow: hidden;
    min-height: 0;
}

@media (max-width: 1024px) {
    .invoice-body {
        height: auto;
        max-height: none;
        overflow: auto;
    }
    .invoice-main {
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

.invoice-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .invoice-layout {
        flex-direction: column;
    }
}

/* Left panel: Editor scrollable */
.editor-section {
    width: 480px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
    .editor-section {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 600px;
    }
}

.form-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
}

.form-block h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.form-block h3 i {
    color: var(--accent);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.block-header h3 {
    margin-bottom: 0;
}

/* Inputs grid */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group.span-2 {
    grid-column: span 2;
}

.input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Items Dynamic editor table */
.items-table-wrapper {
    overflow-x: auto;
}

.items-editor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.items-editor-table th {
    text-align: left;
    padding: 8px 4px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}

.items-editor-table td {
    padding: 8px 4px;
    border-bottom: 1px dashed var(--border-color);
}

.items-editor-table input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    outline: none;
}

.add-row-btn {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.add-row-btn:hover {
    background: var(--accent);
    color: white;
}

.del-row-btn {
    background: transparent;
    color: var(--danger);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.del-row-btn:hover {
    transform: scale(1.15);
}

/* Right Panel: Scrollable Preview area */
.preview-section {
    flex: 1;
    background: var(--bg-tertiary);
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 800px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
}

.pdf-btn {
    background: var(--grad-primary);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.print-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

/* Print-Ready Paper layout styling */
.paper-wrapper {
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.02);
    max-width: 100%;
    overflow-x: auto;
}

.invoice-paper {
    width: 794px; /* Exact A4 Width at 96 dpi */
    min-height: 1000px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.invoice-paper-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.seller-details h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.seller-details p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 3px;
    font-weight: 500;
}

.invoice-title-area {
    text-align: right;
}

.invoice-title-area h2 {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.invoice-meta-badge {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.invoice-meta-badge strong {
    color: #0f172a;
}

.paper-divider {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 0;
}

.bill-to-area {
    display: flex;
    justify-content: space-between;
}

.bill-to-box h3,
.due-date-box h3 {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bill-to-box strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 6px;
}

.bill-to-box p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 3px;
    max-width: 250px;
    line-height: 1.4;
}

.due-date-box strong {
    font-size: 15px;
    color: #dc2626;
}

/* Paper invoice grid table */
.bill-grid-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
}

.bill-grid-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.bill-grid-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.bill-grid-table tr:last-child td {
    border-bottom: none;
}

.text-right {
    text-align: right !important;
}

/* Totals Summary and notes */
.summary-payment-area {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-top: 10px;
}

.paper-payment-instructions h4 {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.paper-payment-instructions p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
    white-space: pre-line;
}

.bill-summary-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.summary-row strong {
    color: #1e293b;
}

.grand-total-row {
    font-size: 18px;
    border-top: 2px solid #0f172a;
    padding-top: 12px;
    margin-top: 6px;
    color: #0f172a;
    font-weight: 800;
}

.grand-total-row strong {
    color: #0f172a;
    font-size: 20px;
}

.paper-footer-notes {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    text-align: center;
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
}

/* Print overrides */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    .header,
    .editor-section,
    .preview-actions,
    .paper-wrapper {
        display: none !important;
    }
    .invoice-main,
    .invoice-layout,
    .preview-section {
        overflow: visible !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .invoice-paper {
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        height: 100vh !important;
        padding: 0 !important;
    }
}

/* ========================================
   PREMIUM INVOICE TEMPLATE CUSTOMIZATIONS
   ======================================== */

/* Template Selection Cards */
.template-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.template-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.template-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.template-card.active {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    background: rgba(99, 102, 241, 0.02);
}

.template-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.template-card span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 1. Modern Minimalist (Default Style) */

/* 2. Royal Blue Template overrides */
.invoice-paper.tpl-royal {
    border-top: 15px solid #1d4ed8;
}
.invoice-paper.tpl-royal .seller-details h1 {
    color: #1e3a8a;
}
.invoice-paper.tpl-royal .invoice-title-area h2 {
    color: #1d4ed8;
}
.invoice-paper.tpl-royal .bill-grid-table th {
    background: #eff6ff;
    color: #1e3a8a;
    border-bottom: 2px solid #3b82f6;
}
.invoice-paper.tpl-royal .bill-to-box h3,
.invoice-paper.tpl-royal .due-date-box h3 {
    color: #3b82f6;
}
.invoice-paper.tpl-royal .grand-total-row {
    border-top: 2px solid #1d4ed8;
    color: #1d4ed8;
}
.invoice-paper.tpl-royal .grand-total-row strong {
    color: #1d4ed8;
}

/* 3. Classic Emerald Template overrides */
.invoice-paper.tpl-emerald {
    border-top: 15px solid #047857;
}
.invoice-paper.tpl-emerald .seller-details h1 {
    color: #064e3b;
    font-family: 'Georgia', serif;
}
.invoice-paper.tpl-emerald .invoice-title-area h2 {
    color: #047857;
    font-family: 'Georgia', serif;
}
.invoice-paper.tpl-emerald .bill-grid-table th {
    background: #ecfdf5;
    color: #064e3b;
    border-bottom: 2px solid #059669;
}
.invoice-paper.tpl-emerald .bill-grid-table td {
    border-bottom: 1px solid #e6f4ea;
}
.invoice-paper.tpl-emerald .bill-to-box h3,
.invoice-paper.tpl-emerald .due-date-box h3 {
    color: #059669;
}
.invoice-paper.tpl-emerald .grand-total-row {
    border-top: 2px double #047857;
    border-bottom: 2px double #047857;
    padding-bottom: 8px;
    color: #047857;
}
.invoice-paper.tpl-emerald .grand-total-row strong {
    color: #047857;
}

/* 4. Neon Creative Template overrides (Stunning creative theme) */
.invoice-paper.tpl-neon-dark {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    border-top: 15px solid #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1) !important;
}
.invoice-paper.tpl-neon-dark .seller-details h1 {
    color: #f8fafc;
}
.invoice-paper.tpl-neon-dark .seller-details p,
.invoice-paper.tpl-neon-dark .bill-to-box p {
    color: #94a3b8;
}
.invoice-paper.tpl-neon-dark .invoice-title-area h2 {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}
.invoice-paper.tpl-neon-dark .invoice-meta-badge,
.invoice-paper.tpl-neon-dark .invoice-meta-badge strong {
    color: #94a3b8;
}
.invoice-paper.tpl-neon-dark .bill-grid-table th {
    background: #1e1b4b;
    color: #c084fc;
    border-bottom: 2px solid #a855f7;
}
.invoice-paper.tpl-neon-dark .bill-grid-table td {
    border-bottom: 1px solid #1e293b;
    color: #e2e8f0;
}
.invoice-paper.tpl-neon-dark .bill-to-box h3,
.invoice-paper.tpl-neon-dark .due-date-box h3 {
    color: #c084fc;
}
.invoice-paper.tpl-neon-dark .bill-to-box strong {
    color: #f8fafc;
}
.invoice-paper.tpl-neon-dark .due-date-box strong {
    color: #f43f5e;
}
.invoice-paper.tpl-neon-dark .paper-payment-instructions h4 {
    color: #c084fc;
}
.invoice-paper.tpl-neon-dark .paper-payment-instructions p {
    color: #94a3b8;
}
.invoice-paper.tpl-neon-dark .summary-row {
    color: #94a3b8;
}
.invoice-paper.tpl-neon-dark .summary-row strong {
    color: #e2e8f0;
}
.invoice-paper.tpl-neon-dark .grand-total-row {
    border-top: 2px solid #a855f7;
    color: #c084fc;
}
.invoice-paper.tpl-neon-dark .grand-total-row strong {
    color: #f8fafc;
}
.invoice-paper.tpl-neon-dark .paper-footer-notes {
    border-top: 1px solid #1e293b;
    color: #64748b;
}

/* ========================================
   BASE LAYOUT STRUCTURAL UTILITIES
   ======================================== */
.invoice-sidebar {
    display: none !important;
}

.invoice-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    height: 100%;
}

.invoice-signature-block {
    display: none;
    align-self: flex-end;
    text-align: center;
    width: 200px;
    margin-top: 20px;
}

.invoice-signature-block .sig-line {
    border-bottom: 1px solid #94a3b8;
    height: 40px;
    margin-bottom: 8px;
}

.invoice-signature-block span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

/* ========================================
   TEMPLATE 5: RED CURVE (LEFT SIDEBAR)
   ======================================== */
.invoice-paper.tpl-curve-red {
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    min-height: 1020px;
    overflow: hidden;
    position: relative;
    border-top: none !important;
}

.invoice-paper.tpl-curve-red .invoice-sidebar {
    display: flex !important;
    flex-direction: column !important;
    width: 260px !important;
    background: #0f172a !important; /* Deep Navy Background */
    color: #f8fafc !important;
    padding: 50px 30px !important;
    box-sizing: border-box;
    gap: 40px;
    position: relative;
    z-index: 2;
    border-top-right-radius: 90px 40%;
    border-bottom-right-radius: 90px 40%;
}

/* Curved shapes mimicking the first image design */
.invoice-paper.tpl-curve-red .invoice-sidebar::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -25px;
    width: 50px;
    height: 220px;
    background: #ef4444 !important; /* Red curved accent shape */
    border-radius: 50%;
    z-index: -1;
}

.invoice-paper.tpl-curve-red .invoice-sidebar::after {
    content: '';
    position: absolute;
    top: 55%;
    right: -20px;
    width: 40px;
    height: 180px;
    background: #1e293b !important; /* Secondary curve accent shape */
    border-radius: 50%;
    z-index: -2;
}

.invoice-paper.tpl-curve-red .sidebar-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 16px;
}

.invoice-paper.tpl-curve-red .sidebar-logo-icon {
    width: 32px;
    height: 32px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.invoice-paper.tpl-curve-red .sidebar-logo-area h1 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.invoice-paper.tpl-curve-red .sidebar-section h3 {
    font-size: 11px;
    font-weight: 800;
    color: #ef4444; /* Red accent headings in sidebar */
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.invoice-paper.tpl-curve-red .sidebar-strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 6px;
}

.invoice-paper.tpl-curve-red .sidebar-section p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 4px;
}

.invoice-paper.tpl-curve-red .invoice-content {
    flex: 1 !important;
    padding: 50px 40px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

/* Hide original redundant components in Red Curve */
.invoice-paper.tpl-curve-red .invoice-content .seller-details {
    display: none !important;
}

.invoice-paper.tpl-curve-red .invoice-content .bill-to-area {
    display: none !important;
}

.invoice-paper.tpl-curve-red .invoice-content .paper-footer-notes {
    display: none !important;
}

/* Accent styles for content area in Red Curve */
.invoice-paper.tpl-curve-red .invoice-title-area h2 {
    color: #ef4444;
    font-size: 32px;
    font-weight: 900;
}

.invoice-paper.tpl-curve-red .bill-grid-table th {
    background: #f8fafc;
    color: #0f172a;
    border-bottom: 2px solid #ef4444;
}

.invoice-paper.tpl-curve-red .grand-total-row {
    border-top: 2px solid #ef4444;
    color: #ef4444;
}

.invoice-paper.tpl-curve-red .grand-total-row strong {
    color: #ef4444;
}

.invoice-paper.tpl-curve-red .invoice-signature-block {
    display: block !important;
    margin-top: 30px;
}


/* ========================================
   TEMPLATE 6: GST TAX BILL (TRADITIONAL)
   ======================================== */
.invoice-paper.tpl-gst-traditional {
    border-top: none !important;
    border: 2px solid #0f172a !important;
    padding: 30px !important;
    gap: 15px !important;
    min-height: 1020px;
    font-family: Arial, Helvetica, sans-serif !important;
}

.invoice-paper.tpl-gst-traditional .invoice-paper-header {
    border: 1px solid #0f172a;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.invoice-paper.tpl-gst-traditional .seller-details {
    text-align: center;
    width: 100%;
}

.invoice-paper.tpl-gst-traditional .seller-details h1 {
    font-size: 26px;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.invoice-paper.tpl-gst-traditional .invoice-title-area {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #0f172a;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.invoice-paper.tpl-gst-traditional .invoice-title-area h2 {
    font-size: 20px;
    font-weight: 900;
    color: #000000;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}

.invoice-paper.tpl-gst-traditional .invoice-meta-badge {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 11px;
    color: #000000;
    margin-top: 4px;
    width: 100%;
}

.invoice-paper.tpl-gst-traditional .bill-to-area {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1px solid #0f172a;
    box-sizing: border-box;
}

.invoice-paper.tpl-gst-traditional .bill-to-box {
    border-right: 1px solid #0f172a;
    padding: 12px;
    background: #f8fafc;
}

.invoice-paper.tpl-gst-traditional .due-date-box {
    padding: 12px;
}

.invoice-paper.tpl-gst-traditional .bill-to-box h3,
.invoice-paper.tpl-gst-traditional .due-date-box h3 {
    font-size: 12px;
    font-weight: 900;
    color: #000000;
    border-bottom: 1px solid #0f172a;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.invoice-paper.tpl-gst-traditional .bill-grid-table {
    border: 1px solid #0f172a;
    margin-top: 0;
}

.invoice-paper.tpl-gst-traditional .bill-grid-table th {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 900;
    padding: 10px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #0f172a;
}

.invoice-paper.tpl-gst-traditional .bill-grid-table th:last-child {
    border-right: none;
}

.invoice-paper.tpl-gst-traditional .bill-grid-table td {
    padding: 10px;
    border-right: 1px solid #0f172a;
    border-bottom: 1px solid #0f172a;
    color: #000000;
}

.invoice-paper.tpl-gst-traditional .bill-grid-table td:last-child {
    border-right: none;
}

.invoice-paper.tpl-gst-traditional .summary-payment-area {
    border: 1px solid #0f172a;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-top: 0;
}

.invoice-paper.tpl-gst-traditional .paper-payment-instructions {
    border-right: 1px solid #0f172a;
    padding: 12px;
    background: #f8fafc;
}

.invoice-paper.tpl-gst-traditional .bill-summary-totals {
    padding: 12px;
}

.invoice-paper.tpl-gst-traditional .grand-total-row {
    border-top: 2px solid #0f172a;
    color: #000000;
}

.invoice-paper.tpl-gst-traditional .grand-total-row strong {
    color: #000000;
}

.invoice-paper.tpl-gst-traditional .invoice-signature-block {
    display: block !important;
    align-self: flex-end;
    margin-top: 20px;
}

.invoice-paper.tpl-gst-traditional .invoice-signature-block span {
    color: #000000;
    font-weight: 900;
}

.invoice-paper.tpl-gst-traditional .paper-footer-notes {
    border-top: 1px solid #0f172a;
    color: #000000;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
}

/* Inline Editability Hover / Focus Highlights */
[contenteditable="true"] {
    outline: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: text;
}
[contenteditable="true"]:hover {
    background-color: rgba(99, 102, 241, 0.06);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    border-radius: 4px;
}
[contenteditable="true"]:focus {
    background-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 2px #6366f1;
    border-radius: 4px;
}
