* Copyright Capstone CRM */

:root {
    --bg: #0f0f0f;
    --card-bg: #1c1c1e;
    --text: #f5f5f7;
    --accent: #0a84ff;
    --success: #30d158;
    --danger: #ff3b30;
    --border: #3a3a3c;
}

/* ================================
   Global
================================ */

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    overflow: visible;
    box-shadow:
        0 4px 30px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.04),
        0 0 20px rgba(10,132,255,0.06);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
}

.table th {
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.table td {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.table tbody tr {
    transition: background 0.18s ease, transform 0.18s ease;
}

.table tr:hover,
.table tbody tr:hover {
    background: rgba(255,255,255,0.04);
}

.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

/* ================================
   Deposits Table Layout
================================ */

.deposits-table {
    table-layout: fixed;
    width: 100%;
}

.deposits-table th,
.deposits-table td {
    vertical-align: middle;
    padding: 6px 8px !important;
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.deposits-table th {
    white-space: nowrap;
}

/* Date */
.deposits-table th:nth-child(1),
.deposits-table td:nth-child(1) {
    width: 95px;
    white-space: nowrap;
}

/* Account */
.deposits-table th:nth-child(2),
.deposits-table td:nth-child(2) {
    width: 150px;
}

/* Source Type */
.deposits-table th:nth-child(3),
.deposits-table td:nth-child(3) {
    width: 110px;
}

/* Reference */
.deposits-table th:nth-child(4),
.deposits-table td:nth-child(4) {
    width: 130px;
}

/* Memo */
.deposits-table th:nth-child(5),
.deposits-table td:nth-child(5) {
    width: 170px;
}

/* Commission */
.deposits-table th:nth-child(6),
.deposits-table td:nth-child(6) {
    width: 90px;
    white-space: nowrap;
}

/* Opportunity */
.deposits-table th:nth-child(7),
.deposits-table td:nth-child(7) {
    width: 150px;
}

/* Amount */
.deposits-table th:nth-child(8),
.deposits-table td:nth-child(8) {
    width: 95px;
    text-align: right;
    white-space: nowrap;
}

/* Status */
.deposits-table th:nth-child(9),
.deposits-table td:nth-child(9) {
    width: 85px;
    white-space: nowrap;
}

/* Cleared */
.deposits-table th:nth-child(10),
.deposits-table td:nth-child(10) {
    width: 90px;
    white-space: nowrap;
}

/* Matched Invoice */
.deposits-table th:nth-child(11),
.deposits-table td:nth-child(11) {
    width: 95px;
    white-space: nowrap;
}

/* Receivable */
.deposits-table th:nth-child(12),
.deposits-table td:nth-child(12) {
    width: 90px;
    white-space: nowrap;
}

/* Nova */
.deposits-table th:nth-child(13),
.deposits-table td:nth-child(13) {
    width: 140px;
}

/* Actions */
.deposits-table th:nth-child(14),
.deposits-table td:nth-child(14) {
    width: 120px;
    white-space: nowrap;
    text-align: right;
}



/* ================================
   Buttons
   Keep original elegant futuristic feel
================================ */

.btn-primary {
    background: var(--accent);
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #007aff;
    transform: translateY(-1px);
}

.btn-danger,
.btn-info,
.btn-success,
.btn-secondary,
.btn-outline-info,
.btn-outline-light {
    border-radius: 4px !important;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* preserve Bootstrap btn-outline-info feel, only add subtle polish */
.btn-outline-info::after,
.btn-outline-light::after,
.btn-success::after,
.btn-secondary::after,
.btn-danger::after,
.btn-info::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.30);
    pointer-events: none;
    z-index: 0;
    transition: all 0.2s ease;
}

/* make button text/icons stay above overlay */
.btn-outline-info > *,
.btn-outline-light > *,
.btn-success > *,
.btn-secondary > *,
.btn-danger > *,
.btn-info > * {
    position: relative;
    z-index: 1;
}

.btn-outline-info:hover,
.btn-outline-light:hover,
.btn-success:hover,
.btn-secondary:hover,
.btn-danger:hover,
.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(40,167,69,0.18);
}

.btn-outline-info:hover::after,
.btn-outline-light:hover::after,
.btn-success:hover::after,
.btn-secondary:hover::after,
.btn-danger:hover::after,
.btn-info:hover::after {
    background: rgba(40,167,69,0.14);
}

/* keep delete/danger slightly more distinct */
.btn-danger::after {
    background: rgba(255,59,48,0.10);
}

.btn-danger:hover::after {
    background: rgba(255,59,48,0.14);
}

/* ================================
   Forms / Selects
================================ */

.form-control,
.form-select {
    background: #2c2c2e;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(10,132,255,0.25);
}

.form-select:hover {
    border-color: rgba(10,132,255,0.45);
    box-shadow: 0 0 10px rgba(10,132,255,0.12);
}

/* ================================
   Pagination
================================ */

.pagination .page-link {
    background: rgba(255,255,255,0.03);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px !important;
    box-shadow: 0 0 8px rgba(10,132,255,0.10);
    margin-right: 0.35rem;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-color: rgba(10,132,255,0.45);
    box-shadow: 0 0 10px rgba(10,132,255,0.22);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: rgba(10,132,255,0.12);
    color: #fff;
    border-color: rgba(10,132,255,0.55);
    box-shadow: 0 0 12px rgba(10,132,255,0.28);
}

/* ================================
   Modals
================================ */

.modal-content {
    background: var(--card-bg);
    border-radius: 18px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* ================================
   Alerts
================================ */

.alert-info {
    background: rgba(10,132,255,0.1);
    border-color: rgba(10,132,255,0.2);
    color: #0a84ff;
    border-radius: 12px;
}

/* ================================
   Utilities
================================ */

.row-highlight {
    background-color: #1f2a1f;
}

/* ================================
   Holographic Cards
================================ */

.holo-card {
    background: rgba(30, 30, 50, 0.6) !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.15) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.holo-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3) !important;
    border-color: rgba(0, 255, 255, 0.6) !important;
}

/* Holographic icon container */
.holo-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.15), transparent 70%);
    box-shadow:
        inset 0 0 30px rgba(0, 255, 255, 0.5),
        0 0 50px rgba(0, 255, 255, 0.4),
        0 0 100px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow:
        inset 0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.5),
        0 0 120px rgba(0, 255, 255, 0.3);
}

.holo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 255, 255, 0.08) 50%,
        transparent 100%
    );
    animation: scan 8s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Icon itself (neon gradient text) */
.holo-icon i {
    font-size: 3rem;
    background: linear-gradient(135deg, #00ffff, #00bfff, #7b00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px #00ffff);
    transition: all 0.4s ease;
    z-index: 1;
}

.holo-card:hover .holo-icon i {
    filter: drop-shadow(0 0 20px #00ffff);
}

.card-expense .holo-icon i {
    filter: drop-shadow(0 0 12px rgba(255,80,80,0.6)) !important;
    background: linear-gradient(135deg, #ff6b6b, #ff3b30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ================================
   Accounting / Module Grid Cards
================================ */

.module-card {
    min-height: 220px;
    padding: 1.5rem 1.25rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.module-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.module-card p {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 0;
}

.module-card .holo-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 0.9rem;
}

.module-card .holo-icon i {
    font-size: 2.35rem;
}

.module-card .btn {
    margin-top: 0.85rem;
}

@media (max-width: 991.98px) {
    .module-card {
        min-height: 200px;
    }
}



/* ================================
   Ledger Dashboard Metric Cards
================================ */

.metric-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.75;
    animation: metricGlow 10s ease-in-out infinite;
}

.metric-revenue::before {
    background: radial-gradient(
        circle at center,
        rgba(10,132,255,0.0) 30%,
        rgba(10,132,255,0.20) 60%,
        rgba(10,132,255,0.45) 100%
    );
}

.metric-expenses::before {
    background: radial-gradient(
        circle at center,
        rgba(255,59,48,0.0) 30%,
        rgba(255,59,48,0.20) 60%,
        rgba(255,59,48,0.45) 100%
    );
}

.metric-profit::before {
    background: radial-gradient(
        circle at center,
        rgba(48,209,88,0.0) 30%,
        rgba(48,209,88,0.20) 60%,
        rgba(48,209,88,0.45) 100%
    );
    transition: background 0.1s ease-out;
    animation: metricGlow 6s ease-in-out infinite;
}

.metric-card .card-body {
    position: relative;
    z-index: 2;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

@keyframes metricGlow {
    0% { opacity: 0.65; }
    50% { opacity: 0.85; }
    100% { opacity: 0.65; }
}

/* ================================
   Commissions table layout
================================ */
.commissions-table {
    table-layout: fixed;
    width: 100%;
}

.commissions-table th,
.commissions-table td {
    vertical-align: middle;
    padding: 6px 8px !important;
    font-size: 14px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.commissions-table th {
    white-space: nowrap;
}

/* 1. Select checkbox */
.commissions-table th:nth-child(1),
.commissions-table td:nth-child(1) {
    width: 48px;
    text-align: center;
    white-space: nowrap;
}

/* 2. Invoice */
.commissions-table th:nth-child(2),
.commissions-table td:nth-child(2) {
    width: 85px;
    white-space: nowrap;
}

/* 3. Date Sold */
.commissions-table th:nth-child(3),
.commissions-table td:nth-child(3) {
    width: 105px;
    white-space: nowrap;
}

/* 4. Opportunity */
.commissions-table th:nth-child(4),
.commissions-table td:nth-child(4) {
    width: 280px;
    white-space: normal;
}

/* 5. Agent */
.commissions-table th:nth-child(5),
.commissions-table td:nth-child(5) {
    width: 200px;
    white-space: normal;
}

/* 6. Gross */
.commissions-table th:nth-child(6),
.commissions-table td:nth-child(6) {
    width: 130px;
    text-align: right;
    white-space: nowrap;
}

/* 7. Net */
.commissions-table th:nth-child(7),
.commissions-table td:nth-child(7) {
    width: 130px;
    text-align: right;
    white-space: nowrap;
}

/* 8. Status */
.commissions-table th:nth-child(8),
.commissions-table td:nth-child(8) {
    width: 95px;
    text-align: center;
    white-space: nowrap;
}

/* 9. Nova Risk */
.commissions-table th:nth-child(9),
.commissions-table td:nth-child(9) {
    width: 105px;
    text-align: center;
    white-space: nowrap;
}

/* 10. Details */
.commissions-table th:nth-child(10),
.commissions-table td:nth-child(10) {
    width: 110px;
    text-align: center;
    white-space: nowrap;
}

.commissions-table .btn-sm {
    padding: 4px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.commissions-table .badge {
    font-size: 13px;
    padding: 4px 6px;
    line-height: 1.1;
}

.commissions-table td:last-child .btn,
.commissions-table td:last-child button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    min-width: 90px !important;
    box-shadow: none !important;
}


/* ================================
   Commission Summary
================================ */

.summary-block {
    max-width: 420px;
    margin-left: auto;
}

.commission-summary {
    margin-top: 20px;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.commission-summary strong {
    display: block;
}

.commission-summary .summary-item {
    min-width: 160px;
}

/* ================================
   Premium Scrollbar
================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1c1c1e;
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

/* ================================
   Expenses Table Layout
================================ */

.expenses-table {
    table-layout: auto;
    width: 100%;
}

.expenses-table th,
.expenses-table td {
    vertical-align: top;
}

.expenses-table th {
    white-space: nowrap;
}

.expenses-table td:nth-child(1),
.expenses-table th:nth-child(1) {
    min-width: 120px;
    white-space: nowrap;
}

.expenses-table td:nth-child(2),
.expenses-table th:nth-child(2) {
    min-width: 170px;
}

.expenses-table td:nth-child(3),
.expenses-table th:nth-child(3) {
    min-width: 190px;
}

.expenses-table td:nth-child(4),
.expenses-table th:nth-child(4) {
    min-width: 260px;
}

.expenses-table td:nth-child(5),
.expenses-table th:nth-child(5) {
    min-width: 120px;
    text-align: right;
    white-space: nowrap;
}

.expenses-table td:nth-child(6),
.expenses-table th:nth-child(6) {
    min-width: 90px;
    white-space: nowrap;
}

.expenses-table td:nth-child(7),
.expenses-table th:nth-child(7) {
    min-width: 100px;
    white-space: nowrap;
}

.expenses-table td:nth-child(8),
.expenses-table th:nth-child(8) {
    min-width: 110px;
    white-space: nowrap;
}

.expenses-table td:nth-child(9),
.expenses-table th:nth-child(9) {
    min-width: 150px;
    white-space: nowrap;
}

.expenses-table td:nth-child(9) .btn {
    margin-right: 0.35rem;
}

/* ================================
   Checks / Payments Table Layout
================================ */

.checks-table {
    table-layout: auto;
    width: 100%;
}

.checks-table th,
.checks-table td {
    vertical-align: top;
}

.checks-table th {
    white-space: nowrap;
}

.checks-table td:nth-child(1),
.checks-table th:nth-child(1) {
    min-width: 120px;
    white-space: nowrap;
}

.checks-table td:nth-child(2),
.checks-table th:nth-child(2) {
    min-width: 200px;
}

.checks-table td:nth-child(3),
.checks-table th:nth-child(3) {
    min-width: 180px;
}

.checks-table td:nth-child(4),
.checks-table th:nth-child(4) {
    min-width: 120px;
    white-space: nowrap;
}

.checks-table td:nth-child(5),
.checks-table th:nth-child(5) {
    min-width: 100px;
    white-space: nowrap;
}

.checks-table td:nth-child(6),
.checks-table th:nth-child(6) {
    min-width: 120px;
    white-space: nowrap;
}

.checks-table td:nth-child(7),
.checks-table th:nth-child(7) {
    min-width: 220px;
}

.checks-table td:nth-child(8),
.checks-table th:nth-child(8) {
    min-width: 100px;
    white-space: nowrap;
}

/* ================================
   Profit & Loss Statement
================================ */

.pl-report-table th,
.pl-report-table td {
    vertical-align: middle;
}

.pl-report-table thead th {
    border-bottom: 1px solid var(--border);
}

.pl-section td {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    padding-top: 1.25rem;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--border);
}

.pl-indent-1 {
    padding-left: 2rem !important;
}

.pl-total td {
    font-weight: 600;
    border-top: 1px solid var(--border);
}

.pl-subtotal td {
    font-weight: 700;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.pl-grand-total td {
    font-weight: 800;
    font-size: 1.05rem;
    border-top: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    background: rgba(255,255,255,0.05);
}

.pl-spacer td {
    border: none !important;
    height: 10px;
    padding: 0;
    background: transparent !important;
}

/* ================================
   Agent Statement Table
================================ */

.statement-table th,
.statement-table td {
    vertical-align: middle;
}

.statement-table th {
    white-space: nowrap;
}

.statement-table td:nth-child(1),
.statement-table th:nth-child(1) {
    min-width: 110px;
    white-space: nowrap;
}

.statement-table td:nth-child(2),
.statement-table th:nth-child(2) {
    min-width: 80px;
    white-space: nowrap;
}

.statement-table td:nth-child(3),
.statement-table th:nth-child(3) {
    min-width: 260px;
}

.statement-table td:nth-child(4),
.statement-table th:nth-child(4) {
    min-width: 150px;
}

.statement-table td:nth-child(5),
.statement-table th:nth-child(5),
.statement-table td:nth-child(6),
.statement-table th:nth-child(6),
.statement-table td:nth-child(7),
.statement-table th:nth-child(7) {
    min-width: 130px;
    white-space: nowrap;
}

.statement-table td:nth-child(8),
.statement-table th:nth-child(8) {
    min-width: 90px;
    white-space: nowrap;
}

.statement-table td:nth-child(9),
.statement-table th:nth-child(9) {
    min-width: 130px;
}

/* ================================
   1099 Report Table
================================ */

.report-1099-table th,
.report-1099-table td {
    vertical-align: middle;
}

.report-1099-table th {
    white-space: nowrap;
}

.report-1099-table td:nth-child(1),
.report-1099-table th:nth-child(1) {
    min-width: 220px;
}

.report-1099-table td:nth-child(2),
.report-1099-table th:nth-child(2) {
    min-width: 100px;
    white-space: nowrap;
}

.report-1099-table td:nth-child(3),
.report-1099-table th:nth-child(3) {
    min-width: 180px;
}

.report-1099-table td:nth-child(4),
.report-1099-table th:nth-child(4) {
    min-width: 140px;
    white-space: nowrap;
}

.report-1099-table td:nth-child(5),
.report-1099-table th:nth-child(5) {
    min-width: 180px;
}

.report-1099-table td:nth-child(6),
.report-1099-table th:nth-child(6) {
    min-width: 130px;
    white-space: nowrap;
}

.report-1099-table td:nth-child(7),
.report-1099-table th:nth-child(7),
.report-1099-table td:nth-child(8),
.report-1099-table th:nth-child(8) {
    min-width: 120px;
    white-space: nowrap;
}

/* ================================
   Balance Sheet Report
================================ */

.balance-sheet-table th,
.balance-sheet-table td {
    vertical-align: middle;
}

.bs-section td {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 1rem;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--border);
}

.bs-total td {
    font-weight: 600;
    border-top: 1px solid var(--border);
}

.bs-grand-total th,
.bs-grand-total td {
    font-weight: 800;
    border-top: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    background: rgba(255,255,255,0.05);
}

/* ================================
   Report Print Styles
================================ */

@media print {
    nav,
    .btn,
    .form-check,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card,
    .table,
    .table th,
    .table td {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border-color: #ccc !important;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ================================
   Report Print Styles
================================ */

@media print {
    nav,
    .btn,
    .form-check,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card,
    .table,
    .table th,
    .table td {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border-color: #ccc !important;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
    }
}

.checks-table th,
.checks-table td {
    white-space: nowrap;
}

.checks-table td:nth-child(7) {
    max-width: 200px;
}

/* ========================================
   DealHub Overlay PDF Editor
======================================== */

.pdf-stage-wrap {
    overflow: auto;
    border: 1px solid #495057;
    border-radius: 0.5rem;
    background: #1b1f24;
    padding: 1rem;
}

.pdf-stage {
    position: relative;
    width: 816px;
    min-height: 1056px;
    margin: 0 auto;
    background: #ffffff;
}

#pdf-canvas {
    display: block;
    width: 816px;
    height: auto;
    background: #ffffff;
}

.field-overlay {
    position: absolute;
    border: 2px solid rgba(0, 128, 128, 0.85);
    background: rgba(64, 224, 208, 0.18);
    color: #111;
    font-size: 12px;
    padding: 2px 4px;
    box-sizing: border-box;
    border-radius: 2px;
    transition: all 0.15s ease-in-out;
}

.field-overlay:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(64, 224, 208, 0.28);
}

.overlay-label {
    font-size: 0.8rem;
    color: #adb5bd;
    margin-bottom: 0.25rem;
}

.field-overlay {
    padding: 1px 4px;
    line-height: 1.2;
}

.field-overlay[type="checkbox"] {
    accent-color: teal;
    width: 16px;
    height: 16px;
    background: rgba(64, 224, 208, 0.18);
    border: 2px solid rgba(0, 128, 128, 0.85);
}

.pdf-stage-wrap {
    overflow: auto;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    background: #111;
}

#pdf-stage {
    position: relative;
}

#pdf-canvas {
    display: block;
}


.section-title {
    font-weight: 500;
    letter-spacing: 0.4px;
    opacity: 0.9;
}
