/* styles.css - Flat UI Design for Sistem Arsip Surat */

:root {
    /* Color Palette - Flat Colors */
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #2980b9;

    /* Backgrounds */
    --bg-main: #f4f7f6;
    --bg-sidebar: #2c3e50;
    --bg-card: #ffffff;
    --bg-header: #ffffff;

    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-muted: #bdc3c7;
    --text-on-sidebar: #ecf0f1;
    --text-on-primary: #ffffff;

    /* Borders & Spacing */
    --border-color: #dee2e6;
    --border-radius: 4px;
    /* Flat design usually uses smaller radii */
    --sidebar-width: 260px;
    --header-height: 70px;
    --transition: all 0.2s ease;
}

/* Dark Mode Overrides */
body.dark-mode {
    --bg-main: #1a1a1a;
    --bg-sidebar: #121212;
    --bg-card: #242424;
    --bg-header: #242424;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow: hidden;
    line-height: 1.6;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    color: var(--text-on-sidebar);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.1);
}

.logo-icon {
    color: var(--primary-color);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    list-style: none;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    opacity: 0.8;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    opacity: 1;
}

.nav-item i {
    width: 20px;
    height: 20px;
}

.nav-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Main Content Styling */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.top-header {
    height: var(--header-height);
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.top-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

/* ============================
   Bell Notification Panel
   ============================ */
.notif-wrapper {
    position: relative;
}

.notif-bell-btn {
    position: relative;
}

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--danger-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0%   { transform: scale(0); }
    70%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.notif-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 500;
    overflow: hidden;
    animation: dropDown 0.2s ease;
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-main);
}

.notif-panel-header span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-panel-header span i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.notif-clear-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

.notif-clear-btn:hover {
    background: rgba(231,76,60,0.08);
}

.notif-clear-btn i {
    width: 14px;
    height: 14px;
}

.notif-list {
    list-style: none;
    max-height: 340px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.notif-list li.notif-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: background 0.15s;
    animation: notifSlide 0.25s ease;
}

@keyframes notifSlide {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.notif-list li.notif-item:hover {
    background: rgba(52,152,219,0.05);
}

.notif-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-item-icon.add    { background: rgba(39,174,96,0.12); color: var(--success-color); }
.notif-item-icon.delete { background: rgba(231,76,60,0.12); color: var(--danger-color); }
.notif-item-icon.import { background: rgba(52,152,219,0.12); color: var(--primary-color); }
.notif-item-icon i { width: 16px; height: 16px; }

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Content Area */
#content-area {
    padding: 30px;
    flex: 1;
}

/* Generic Components */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.flat-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.flat-btn:hover {
    background-color: var(--primary-hover);
}

/* Loader */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Stat Cards */
.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-radius: 4px;
    /* Ensure flat design */
}

.stat-info {
    display: flex;
    flex-direction: column;
}

/* Utility Classes */
.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

/* Colorful Gradient Stat Cards */
.stat-card.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-card.gradient-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.stat-card.gradient-orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stat-card.gradient-purple {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stat-card h3 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--danger-color);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--danger-color);
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: var(--bg-card);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Button Variants */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #229954;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background-color: var(--bg-main);
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Badge Styles */
.badge-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-ks {
    background-color: #e8f4f8;
    color: #2980b9;
}

.badge-pp {
    background-color: #e8f8f5;
    color: #27ae60;
}

.badge-ku {
    background-color: #fef5e7;
    color: #f39c12;
}

.badge-kp {
    background-color: #fadbd8;
    color: #e74c3c;
}

/* Notification Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
    min-width: 300px;
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast.info {
    border-left: 4px solid var(--info-color);
}

.toast-icon {
    width: 24px;
    height: 24px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Search and Filter Bar */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

/* Confirmation Dialog */
.confirm-dialog {
    text-align: center;
    padding: 20px;
}

.confirm-dialog i {
    width: 64px;
    height: 64px;
    color: var(--warning-color);
    margin-bottom: 15px;
}

.confirm-dialog h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.confirm-dialog p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Report Styles */
.report-container {
    padding: 20px;
    background: white;
    color: black;
    border: 1px solid var(--border-color);
}

.report-container p {
    line-height: 1.2;
}

.kop-surat {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    border-bottom: 3px solid black;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.kop-surat img {
    grid-column: 1;
    height: 80px;
    width: auto;
    object-fit: contain;
}

.kop-text {
    grid-column: 2;
    text-align: center;
}

.kop-text h2 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 800;
}

.kop-text p {
    margin: 2px 0;
    line-height: 1.2;
}

.kop-surat p {
    margin: 4px 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.report-table th,
.report-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.report-table th {
    background-color: #f0f0f0;
    font-weight: 600;
    text-align: center;
}

.report-table td:first-child {
    text-align: center;
    width: 50px;
}

.signature-section {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

.signature-box {
    text-align: left;
    min-width: 250px;
    /* Optional: ensures enough width for longer names */
}

.signature-box p {
    margin: 5px 0;
    line-height: 1.2;
}

/* Print Media Query */
@media print {

    /* Hide everything except report */
    .sidebar,
    .top-header,
    .filter-bar,
    .page-header button,
    .btn,
    .empty-state,
    .toast {
        display: none !important;
    }

    /* Show only report content */
    body {
        background-color: white;
        color: black;
    }

    .main-content {
        margin: 0;
        padding: 0;
    }

    #content-area {
        padding: 0;
    }

    .card {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .page-header {
        display: none !important;
    }

    #laporan-preview {
        display: block !important;
    }

    .report-container {
        width: 100%;
        padding: 20px;
    }

    .report-table {
        page-break-inside: avoid;
    }

    .kop-surat {
        border-bottom: 3px solid #000;
    }
}

/* Login Page Styles */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-body);
    background-image: linear-gradient(135deg, var(--bg-body) 0%, #eef2f3 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.login-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-logo-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo-wrapper img {
    max-height: 80px;
}

.login-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.login-card .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.login-card .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.dark-mode .login-card {
    background: var(--bg-card);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dark-mode .login-container {
    background-color: var(--bg-body);
    background-image: none;
}

/* Print Styles for A4 PDF Export */
@media print {
    @page {
        size: A4;
        margin: 2cm;
        /* Standard margin for documents */
    }

    body {
        background-color: white;
        color: black;
        overflow: visible;
        /* Allow scrolling for print */
    }

    /* Hide UI elements */
    .sidebar,
    .top-header,
    .page-header,
    .card>h3,
    .filter-bar,
    .toast,
    .modal-overlay,
    .btn,
    .form-row,
    #content-area>.card:first-child {
        display: none !important;
    }

    /* Ensure Main Content takes full width */
    .app-container {
        display: block;
        height: auto;
    }

    .main-content {
        display: block;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    #content-area {
        padding: 0;
        margin: 0;
    }

    /* Show only the Report Preview Card */
    #laporan-preview {
        display: block !important;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
        overflow: visible;
    }

    /* Report Content Styling */
    .report-container {
        padding: 0;
    }

    /* Kop Surat Styling - Spacing 1.0 */
    .kop-surat {
        display: grid;
        grid-template-columns: 80px 1fr 80px;
        align-items: center;
        border-bottom: 3px double black;
        padding-bottom: 10px;
        margin-bottom: 20px;
        page-break-after: avoid;
    }

    .kop-surat img {
        grid-column: 1;
        height: 70px;
        width: auto;
        object-fit: contain;
    }

    .kop-text {
        grid-column: 2;
        text-align: center;
        padding: 0 10px;
    }

    /* Titles and Subtitles Spacing 1.0 */
    .kop-text h2,
    .kop-text p {
        margin: 0;
        padding: 0;
        line-height: 1 !important;
        /* Requested Spacing */
        color: black;
    }

    .kop-text h2 {
        font-size: 14pt;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .kop-text p {
        font-size: 11pt;
    }

    .kop-text p.sub-title-1 {
        font-size: 12pt;
        font-weight: bold;
        margin-top: 4px;
    }

    /* Table Styling for Print */
    .report-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .report-table th,
    .report-table td {
        border: 1px solid black;
        padding: 6px 8px;
        font-size: 10pt;
        color: black;
    }

    .report-table th {
        background-color: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        text-align: center;
        font-weight: bold;
    }

    .report-table td {
        vertical-align: top;
    }

    /* Signature Section */
    .signature-section {
        margin-top: 40px;
        display: flex;
        justify-content: flex-end;
        page-break-inside: avoid;
    }

    .signature-box {
        text-align: center;
        width: 250px;
        color: black;
    }

    .signature-box p {
        line-height: 1.2;
        margin: 2px 0;
    }
}