/* ======================================
   AdBudget — Global Styles
   ====================================== */
:root {
    --bg-dark: #0f1923;
    --bg-sidebar: #15202b;
    --bg-sidebar-hover: #1c2e3f;
    --bg-sidebar-active: #1a3a5c;
    --bg-content: #f0f2f5;
    --bg-card: #ffffff;
    --bg-modal: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-light: #cbd5e1;
    --text-white: #f1f5f9;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #dbeafe;
    --green: #10b981;
    --green-bg: #d1fae5;
    --green-text: #065f46;
    --red: #ef4444;
    --red-bg: #fee2e2;
    --red-text: #991b1b;
    --orange: #f59e0b;
    --orange-bg: #fef3c7;
    --orange-text: #92400e;
    --purple: #8b5cf6;
    --purple-bg: #ede9fe;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;
    --topbar-height: 64px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-content);
    color: var(--text-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    outline: none;
}

/* ======= Login Screen ======= */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1923 0%, #1a3a5c 50%, #0f1923 100%);
    padding: 20px;
}

.login-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 36px;
}

.login-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 16px;
}

.login-logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group label i {
    margin-right: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-error {
    background: var(--red-bg);
    color: var(--red-text);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ======= Buttons ======= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn i {
    font-size: 13px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--green);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--red);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--orange);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-content);
    color: var(--accent);
}

/* ======= App Layout ======= */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ======= Sidebar ======= */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    transition: var(--transition);
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 64px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.sidebar-logo i {
    font-size: 22px;
    color: var(--accent);
}

.sidebar-toggle {
    background: none;
    color: var(--text-light);
    font-size: 18px;
    padding: 6px;
    border-radius: 6px;
    display: none;
}

.sidebar-toggle:hover {
    background: var(--bg-sidebar-hover);
}

.sidebar-nav {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-sidebar-hover);
    color: white;
}

.nav-item.active {
    background: var(--bg-sidebar-active);
    color: white;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.nav-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: var(--transition);
}

.nav-group-toggle.open .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    display: none;
    padding-left: 12px;
}

.nav-submenu.show {
    display: block;
}

.nav-item.sub {
    font-size: 13px;
    padding: 9px 16px;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 4px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.user-role {
    color: var(--text-light);
    font-size: 11px;
}

.logout-btn {
    color: var(--red) !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* ======= Main Content ======= */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    height: var(--topbar-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 28px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.topbar h2 {
    font-size: 18px;
    font-weight: 700;
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    background: none;
    font-size: 20px;
    color: var(--text-primary);
}

.content-area {
    padding: 28px;
    flex: 1;
}

/* ======= Cards ======= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    padding: 24px;
}

/* ======= Stats Cards ======= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.green {
    background: var(--green-bg);
    color: var(--green);
}

.stat-icon.red {
    background: var(--red-bg);
    color: var(--red);
}

.stat-icon.orange {
    background: var(--orange-bg);
    color: var(--orange);
}

.stat-icon.blue {
    background: var(--accent-light);
    color: var(--accent);
}

.stat-icon.purple {
    background: var(--purple-bg);
    color: var(--purple);
}

.stat-info h4 {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-info .stat-value {
    font-size: 22px;
    font-weight: 800;
}

/* ======= Company Cards ======= */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.company-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.company-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.company-card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.company-card-header p {
    font-size: 12px;
    color: var(--text-secondary);
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.company-detail i {
    width: 16px;
    color: var(--accent);
}

.company-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ======= Tables ======= */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #f1f5f9;
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border);
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

tr:hover {
    background: #f8fafc;
}

tr.row-in {
    border-left: 4px solid var(--green);
}

tr.row-out {
    border-left: 4px solid var(--red);
}

tr.row-expense {
    border-left: 4px solid var(--orange);
}

/* ======= Type Badges ======= */
.badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-in {
    background: var(--green-bg);
    color: var(--green-text);
}

.badge-out {
    background: var(--red-bg);
    color: var(--red-text);
}

.badge-expense {
    background: var(--orange-bg);
    color: var(--orange-text);
}

.badge-draft {
    background: #e2e8f0;
    color: #475569;
}

.badge-sent {
    background: var(--accent-light);
    color: #1e40af;
}

.badge-approved {
    background: var(--green-bg);
    color: var(--green-text);
}

/* ======= Modals ======= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-modal);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 17px;
    font-weight: 700;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Doc Viewer Modal */
.doc-viewer-modal {
    background: var(--bg-modal);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.doc-viewer-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-viewer-body {
    flex: 1;
    overflow: auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-viewer-body img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
}

.doc-viewer-body iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: var(--radius-sm);
}

/* ======= Filter Bar ======= */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.filter-bar select,
.filter-bar input {
    padding: 9px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #f8fafc;
    transition: var(--transition);
}

.filter-bar select:focus,
.filter-bar input:focus {
    border-color: var(--accent);
}

.filter-bar label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ======= Bill Preview ======= */
.bill-preview {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    background: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 14px;
}

.bill-preview h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 18px;
}

.bill-preview .bill-meta {
    margin-bottom: 20px;
}

.bill-preview .bill-body {
    margin-bottom: 20px;
    text-align: justify;
}

.bill-preview .bill-signature {
    margin-top: 40px;
}

/* ======= Empty State ======= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 14px;
}

/* ======= Form inline row ======= */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ======= Sidebar Overlay Mobile ======= */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* ======= Animations ======= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= Responsive ======= */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 0 16px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .login-container {
        padding: 32px 24px;
    }
}

/* ======= Print Styles ======= */
@media print {
    body {
        background: white !important;
    }

    .sidebar,
    .topbar,
    .filter-bar,
    .btn,
    .mobile-menu-btn,
    .sidebar-overlay,
    .modal-overlay,
    .company-card-actions,
    .no-print {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .content-area {
        padding: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .stat-card {
        box-shadow: none !important;
    }

    table {
        font-size: 12px;
    }

    .print-header {
        display: block !important;
        text-align: center;
        margin-bottom: 20px;
    }

    .print-header h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .print-header p {
        font-size: 13px;
        color: #666;
    }
}

.print-header {
    display: none;
}

/* ======= Scrollbar ======= */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* ======= Tab styles ======= */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    cursor: pointer;
}

.tab-btn:hover {
    color: var(--accent);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ======= Misc Utilities ======= */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.amount-in {
    color: var(--green);
    font-weight: 700;
}

.amount-out {
    color: var(--red);
    font-weight: 700;
}

.amount-expense {
    color: var(--orange);
    font-weight: 700;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* ======= Premium Letter Design ======= */
.premium-letter {
    background: white;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75in;
    box-shadow: var(--shadow-lg);
    font-family: 'Calibri', 'Segoe UI', 'Arial', sans-serif;
    color: #1a1a2e;
    line-height: 1.5;
    position: relative;
    border: 1px solid var(--border);
}

.premium-header {
    background-color: #ffffff;
    color: white;
    padding: 24px;
    text-align: center;
}

.premium-header h1 {
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    color: rgb(30, 31, 33);
    letter-spacing: 2px;
}

.premium-accent-line {
    height: 4px;
    background-color: #3b82f6;
    /* Blue accent */
    width: 100%;
}

.premium-info-block {
    margin: 32px 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 4px 8px;
    font-size: 11pt;
}

.premium-info-label {
    font-weight: bold;
}

.premium-body {
    font-size: 11pt;
    text-align: justify;
    margin-bottom: 32px;
}

.premium-body p {
    margin-bottom: 16px;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.premium-table th {
    background-color: #cfd3d3 !important;
    color: white !important;
    padding: 10px;
    text-align: left;
    font-size: 10pt;
    text-transform: none;
    letter-spacing: normal;
    border: none;
}

.premium-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 10pt;
}

.premium-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.premium-table tr.total-row {
    background-color: #2c2d2f !important;
    /* Blue accent for total */
    color: white !important;
    font-weight: bold;
}

.premium-table tr.total-row td {
    border-color: #3b82f6;
}

.premium-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    font-size: 11pt;
}

.approval-box {
    border: 2px solid #000080;
    padding: 16px;
    width: 280px;
}

.approval-title {
    font-weight: bold;
    margin-bottom: 12px;
    text-decoration: underline;
}

.approval-option {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-sq {
    width: 14px;
    height: 14px;
    border: 1px solid #000;
}

.signature-line {
    margin-top: 24px;
    border-top: 1px solid #000;
    padding-top: 4px;
    font-size: 10pt;
}

@media print {
    .premium-letter {
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
}