:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary: #10b981;
    --accent: #f59e0b;
    --bg-app: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-card: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --premium-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --premium-gradient-hover: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-app);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15), transparent 25%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header & Nav Styles */
.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-main);
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.1);
}

.page-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 40px;
    width: auto;
    border-radius: 8px; /* Optional, just in case the logo needs a slight curve */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-area h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-area h1 span {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Toggle Switch */
.toggle-container {
    background: rgba(0, 0, 0, 0.05);
    padding: 6px;
    border-radius: 12px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--glass-border);
}

.toggle-btn {
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    color: var(--text-muted);
}

.toggle-btn.active {
    background: var(--premium-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.primary-btn {
    background: var(--premium-gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    background: var(--premium-gradient-hover);
}

/* App Layout */
.editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 81px);
}

.controls-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    overflow-y: auto;
}

.preview-panel {
    padding: 3rem;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    background: rgba(15, 23, 42, 0.3);
}

/* Cards & Forms */
.card {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.card h3 i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
}

input:focus, textarea:focus {
    border-color: var(--primary-light);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* Item Inputs */
.item-row {
    display: grid;
    grid-template-columns: 2fr 0.6fr 1fr 40px;
    gap: 10px;
    margin-bottom: 12px;
}

.icon-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.add-btn {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* A4 Preview Styles */
.a4-page {
    background: white;
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    transform-origin: top center;
    border-radius: 4px;
}

.invoice-box {
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
    padding: 40px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.preview-logo {
    height: 90px;
    margin-bottom: 12px;
}

.company-tagline {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.istart-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 1.5rem;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-details p i {
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.document-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.document-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.document-type h1 {
    display: none;
}

.meta-preview {
    text-align: right;
    background: rgba(139, 92, 246, 0.05);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.meta-preview p {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.meta-preview p:last-child {
    margin-bottom: 0;
}

.customer-section {
    margin-bottom: 4rem;
}

.bill-to-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.bill-to-details {
    display: flex;
    flex-direction: column;
    gap: 6px; /* A small gap between name, address, and contact */
}

.bill-to-details h3 {
    margin: 0;
    font-size: 1.15rem;
}

.bill-to-details p {
    margin: 0;
}

.bill-to-card .label {
    margin-bottom: 0;
    white-space: nowrap;
    margin-top: 3px; /* Align label better with the name text */
}

.label {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.address-text {
    white-space: pre-line;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Table Styles */
.items-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.items-table th {
    background: rgba(139, 92, 246, 0.08);
    text-align: left;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary);
}

.items-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1.05rem;
}

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

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

/* Totals */
.totals-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
}

.amount-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amount-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.amount-row.total {
    border-top: 2px solid #e2e8f0;
    padding-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    white-space: nowrap;
}

.text-success {
    color: #10b981;
    font-weight: 600;
}

.balance-due {
    border-top: 2px dashed var(--primary);
    padding-top: 15px;
    margin-top: 5px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.invoice-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 100%;
}

.terms-preview-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.terms-text {
    white-space: pre-line;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}


.branding span {
    color: var(--primary);
    font-weight: 600;
}


/* Print Branding */
.print-header {
    display: none;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--primary);
}

.print-header img {
    height: 50px;
}

.print-header h1 {
    font-size: 2rem;
    font-weight: 800;
}

.print-header h1 span {
    color: var(--primary);
}

@media print {
    @page {
        margin: 5mm;
        size: A4 portrait;
    }
    
    html, body {
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        overflow: visible !important;
    }

    .app-container {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .print-header {
        display: none !important;
    }
    
    .no-print {
        display: none !important;
    }
    
    .invoice-header {
        margin-bottom: 1rem !important;
        padding-bottom: 1rem !important;
        page-break-inside: avoid;
    }

    .editor-grid {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .preview-panel {
        background: white !important;
        padding: 0 !important;
        overflow: visible !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .a4-page {
        min-height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    /* Keep sections together */
    .customer-section {
        margin-bottom: 1rem !important;
        page-break-inside: avoid;
    }

    /* Table rules for multiple pages */
    .items-table {
        margin-bottom: 1rem !important;
        width: 100%;
    }

    thead {
        display: table-header-group;
    }

    tr {
        page-break-inside: avoid;
    }

    .totals-section {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr;
        gap: 30px;
        page-break-inside: avoid;
        align-items: start;
        margin-top: 20px;
    }

    .amount-area {
        order: initial;
        align-self: initial;
        width: 100%;
        margin-bottom: 0;
    }

    .notes-area {
        order: initial;
        width: 100%;
        padding-top: 0;
        page-break-inside: avoid;
    }

    .invoice-footer {
        margin-top: 0.5rem !important;
        padding-top: 0.5rem !important;
        display: block !important;
        page-break-inside: avoid;
        width: 100% !important;
    }

    .terms-page-wrapper {
        page-break-before: always !important;
        margin-top: 0 !important;
        padding-top: 20mm !important;
    }
}

/* ─── Screen Responsiveness ─── */
@media screen and (max-width: 1100px) {
    .editor-grid {
        grid-template-columns: 350px 1fr;
    }
}
@media screen and (max-width: 800px) {
    .editor-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .controls-panel {
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .main-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* App Footer Styles */
.app-footer {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    background: #343a40;
    background: linear-gradient(145deg, #373d44, #212529);
    padding: 40px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 30px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-badge img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 12px;
}

.brand-text {
    text-align: left;
}

.brand-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.brand-text h3 {
    font-size: 1.8rem;
    color: white;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-line {
    color: #00ff88; /* Vibrant Green */
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.info-line i {
    font-size: 8px;
    opacity: 0.8;
}

.footer-divider {
    width: 100%;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 5px 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    transform: scale(1.05);
}

.footer-contact i {
    font-size: 1.4rem;
    opacity: 0.7;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .footer-content {
        padding: 30px 20px;
        border-radius: 35px;
    }
    
    .brand-badge {
        padding: 10px 20px;
    }
    
    .brand-text h3 {
        font-size: 1.5rem;
    }
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.editor-grid {
    flex: 1;
}

/* Print Terms Styles */
.print-terms {
    display: none;
}

@media print {
    .print-terms {
        display: block !important;
        page-break-before: always;
        padding: 20px;
        color: #000;
        background: white;
    }
    .print-terms h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        text-align: center;
        border-bottom: 2px solid #000;
        padding-bottom: 5px;
        text-transform: uppercase;
    }
    .print-terms h1 span {
        color: #000; /* Use black for print */
    }
    .print-terms h2 {
        font-size: 1.1rem;
        margin-top: 15px;
        margin-bottom: 5px;
        color: #000;
        font-weight: 700;
    }
    .print-terms h2 span {
        color: #000;
    }
    .print-terms p, .print-terms li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 5px;
    }
    .print-terms ul {
        list-style-type: none;
        padding-left: 15px;
    }
    .print-terms ul li {
        position: relative;
        padding-left: 15px;
    }
    .print-terms ul li::before {
        content: "-";
        position: absolute;
        left: 0;
    }
    .print-terms .sub-section {
        margin-left: 15px;
        margin-bottom: 10px;
        padding: 0;
        background: none;
        border: none;
    }
    .print-terms .sub-section h3 {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 3px;
        color: #000;
    }
    /* Prevent headings from being orphaned */
    .print-terms h2, .print-terms h3 {
        page-break-after: avoid;
    }
}

.digital-seal-wrapper {
    display: none; /* Controlled by JavaScript (set to flex dynamically) */
    width: 100%;
    box-sizing: border-box;
}

/* Corporate Adobe/DocuSign style Verification Box */
.adobe-sign-signature-box {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute contents horizontally */
    gap: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px 20px;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    width: 100%;
    box-sizing: border-box;
}

.sig-left-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sig-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1.5px solid #000000; /* Distinct black border for logo */
}

.sig-logo {
    width: 44px; /* Increased logo size */
    height: 44px;
    object-fit: contain;
}

.sig-details-left {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.sig-details-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align elements to the right edge */
    text-align: right;
    gap: 2.5px;
}

.sig-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sig-status {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
}

.status-highlight {
    font-weight: 700;
}

.sig-id, .sig-timestamp {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sig-id .monospaced, .sig-timestamp span {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-main);
}

.sig-org {
    font-size: 0.62rem;
    font-weight: 600;
    margin-top: 2px;
}

/* Color Presets for Signature Box (Left border and color accents) */
/* 1. Teal Theme */
.digital-seal-wrapper.style-teal .adobe-sign-signature-box {
    border-left: 4px solid #0d9488;
}
.digital-seal-wrapper.style-teal .status-highlight { color: #0d9488; }
.digital-seal-wrapper.style-teal .sig-org { color: #0f766e; }

/* 2. Green Theme */
.digital-seal-wrapper.style-green .adobe-sign-signature-box {
    border-left: 4px solid #16a34a;
}
.digital-seal-wrapper.style-green .status-highlight { color: #16a34a; }
.digital-seal-wrapper.style-green .sig-org { color: #15803d; }

/* 3. Blue Theme */
.digital-seal-wrapper.style-blue .adobe-sign-signature-box {
    border-left: 4px solid #2563eb;
}
.digital-seal-wrapper.style-blue .status-highlight { color: #2563eb; }
.digital-seal-wrapper.style-blue .sig-org { color: #1d4ed8; }

/* 4. Charcoal Theme */
.digital-seal-wrapper.style-charcoal .adobe-sign-signature-box {
    border-left: 4px solid #374151;
}
.digital-seal-wrapper.style-charcoal .status-highlight { color: #374151; }
.digital-seal-wrapper.style-charcoal .sig-org { color: #1f2937; }

/* 5. Red Theme */
.digital-seal-wrapper.style-red .adobe-sign-signature-box {
    border-left: 4px solid #dc2626;
}
.digital-seal-wrapper.style-red .status-highlight { color: #dc2626; }
.digital-seal-wrapper.style-red .sig-org { color: #b91c1c; }


