/* ============================
   CustomQuote — Theme-Specific Preview Styles
   Load AFTER quote.css
   ============================ */

.cq-theme-minimalist { font-family: 'Inter', -apple-system, sans-serif; }

.cq-theme-corporate .cq-quote-table thead th {
    background: #1d1d1f;
    color: #fff;
    border: none;
}
.cq-theme-corporate .cq-quote-table thead th:first-child { border-radius: 0; }
.cq-theme-corporate .cq-quote-table thead th:last-child { border-radius: 0; }
.cq-theme-corporate .cq-quote-total-row.cq-grand-total {
    border-top-color: #1d1d1f;
}

.cq-theme-sidebar .cq-quote-table thead th {
    background: transparent;
    border-bottom: 2px solid var(--cq-accent, #6366f1);
}

.cq-theme-bold .cq-quote-table thead th {
    background: var(--cq-accent, #6366f1);
    color: #fff;
    border-radius: 6px 6px 0 0;
}
.cq-theme-bold .cq-add-item-btn {
    border-color: var(--cq-accent, #6366f1);
}
.cq-theme-bold .cq-add-item-btn:hover {
    color: var(--cq-accent, #6366f1);
}

.cq-theme-luxury {
    font-family: 'Georgia', 'Times New Roman', serif;
}
.cq-theme-luxury .cq-quote-table {
    border-top: 1px solid #C9A227;
    border-bottom: 1px solid #C9A227;
}
.cq-theme-luxury .cq-quote-table thead th {
    background: transparent;
    color: #C9A227;
    border-bottom: 1px solid #C9A22740;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.cq-theme-luxury .cq-quote-table tbody td {
    border-bottom: 1px solid #C9A22720;
    font-family: 'Inter', sans-serif;
}
.cq-theme-luxury .cq-quote-total-row.cq-grand-total {
    border-top-color: #C9A227;
    color: #C9A227;
}
.cq-theme-luxury .cq-add-item-btn {
    border-color: #C9A22740;
    color: #C9A227;
}

.cq-theme-tech .cq-quote-table thead th {
    background: #0a0a0f;
    color: #6366f1;
    font-family: 'SF Mono', 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #27272a;
}
.cq-theme-tech .cq-quote-table tbody td {
    border-bottom: 1px solid #e4e4e7;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
}
.cq-theme-tech .cq-quote-table tbody tr:hover {
    background: #f4f4f5;
}
.cq-theme-tech .cq-quote-total-row {
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.cq-theme-tech .cq-quote-total-row.cq-grand-total {
    border-top-color: #0a0a0f;
    font-weight: 700;
}
.cq-theme-tech .cq-add-item-btn {
    border-color: #e4e4e7;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.cq-theme-geometric .cq-quote-table thead th {
    background: var(--cq-accent, #6366f1);
    color: #fff;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    padding: 10px 20px;
}
.cq-theme-geometric .cq-quote-table thead th:first-child {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}
.cq-theme-geometric .cq-quote-table thead th:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
}
.cq-theme-geometric .cq-add-item-btn {
    border-color: var(--cq-accent, #6366f1);
}

.cq-theme-split .cq-quote-table thead th {
    background: var(--cq-accent, #6366f1);
    color: #fff;
}
.cq-theme-split .cq-quote-total-row.cq-grand-total {
    border-top-color: var(--cq-accent, #6366f1);
}

.cq-theme-eco .cq-quote-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}
.cq-theme-eco .cq-quote-table thead th {
    background: var(--cq-accent, #6366f1);
    color: #fff;
    border-radius: 0;
    font-weight: 500;
}
.cq-theme-eco .cq-quote-table thead th:first-child { border-radius: 12px 0 0 0; }
.cq-theme-eco .cq-quote-table thead th:last-child { border-radius: 0 12px 0 0; }
.cq-theme-eco .cq-quote-table tbody td {
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.cq-theme-eco .cq-quote-table .cq-qty-input,
.cq-theme-eco .cq-quote-table .cq-rate-input,
.cq-theme-eco .cq-quote-table .cq-desc-input,
.cq-theme-eco .cq-quote-table .cq-generic-input {
    border-radius: 8px;
}
.cq-theme-eco .cq-quote-total-row.cq-grand-total {
    border-top-color: var(--cq-accent, #6366f1);
}
.cq-theme-eco .cq-add-item-btn {
    border-radius: 12px;
    border-color: var(--cq-accent, #6366f1);
}

.cq-theme-data {
    font-size: 12px !important;
}
.cq-theme-data .cq-quote-table thead th {
    padding: 6px 8px;
    font-size: 10px;
    background: #f5f5f7;
}
.cq-theme-data .cq-quote-table tbody td {
    padding: 6px 8px;
    font-size: 12px;
}
.cq-theme-data .cq-quote-table .cq-qty-input,
.cq-theme-data .cq-quote-table .cq-rate-input,
.cq-theme-data .cq-quote-table .cq-generic-input {
    padding: 3px 6px;
    font-size: 12px;
    width: 60px;
}
.cq-theme-data .cq-quote-totals {
    padding-top: 10px;
}
.cq-theme-data .cq-quote-total-row {
    font-size: 12px;
}
.cq-theme-data .cq-quote-total-row.cq-grand-total {
    font-size: 14px;
    padding-top: 6px;
}
.cq-theme-data .cq-add-item-btn {
    padding: 8px;
    font-size: 11px;
    margin-bottom: 16px;
}
