/* ========== GENERAL ========== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: 'Public Sans', 'Helvetica Neue', sans-serif;
    background: #f9f9f9;
    font-size: 14px;
    padding-top: 60px;
    padding-bottom: 150px;
}

.logged_in_as {
    font-size: 12px;
    display:block;
    text-align:right;
    width: 100%;
}

/* ========== TURNSTYLE ========== */
#turnstile-widget {
    text-align:center;
}

/* ========== CONTAINER & CARD ========== */
.container {
    max-width: 1200px;
    width: 1200px;
    margin: 100px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: static !important;
    z-index: auto !important;
    box-sizing: border-box;
}
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: static !important;
    z-index: 1 !important;
    margin-top:48px;
}
h2 {
    color: #333;
    margin-bottom: 25px;
    margin-top:24px;
}
.company-name {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

a.listcompanyname {
    min-width:200px;
    display: inline-block;
}

a.listcontactname {
    min-width:120px;
    display: inline-block;
}
.success, .error {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.success {
    background: #d7e6d3;
    color: #155724;
}
.error {
    background: #e6c3d3;
    color: #721c24;
}
.overdueback {
    background:red;
    color:white;
    padding: 2px 4px;
}
.duetodayback {
    background:orange;
    color:white;
    padding: 2px 4px;
}

.main-content-wrapper {
    padding-top: 90px; /* Adjust if your menu is taller/shorter (common values: 70–100px) */
    min-height: 100vh;
}
@media (max-width: 768px) {
    .main-content-wrapper {
        padding-top: 70px; /* Typically smaller/collapsed menu on mobile */
    }
}

/* ========== MENU ========== */
.navbar {
    background-color: rgb(0, 0, 135);
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}
.navbar li {
    margin: 0 15px;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: block;
}
.navbar a:hover {
    text-decoration: underline;
    border-radius: 4px;
     color: #fff;
}
.logo {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}
.navbar .hamburger {
    display: none;
    font-size: 24px;
    background: none !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1082;
    position: relative;
    line-height: 1;
    min-width: 40px;
}
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0, 0, 135);
        padding: 60px 0 20px;
        overflow-y: auto;
        z-index: 1081;
    }
    .navbar ul.active {
        display: flex !important;
    }
    .navbar li {
        margin: 2px 0;
        text-align: center;
    }
    .navbar .hamburger {
        display: block !important;
    }
    .logo {
        margin-left: 10px;
        font-size: 20px;
    }
    @supports (height: 100dvh) {
        .navbar ul {
            height: 100dvh;
            padding-bottom: env(safe-area-inset-bottom);
        }
    }

    h2 { 
        margin-top:0;
    }
    .container {
        margin: 1rem 0.5rem;
        padding: 1rem;
        max-width: calc(100% - 1rem);
    }
    .table-responsive {
        overflow-x: auto;
        max-width: 100%;
        display: block;
    }
    .table {
        width: 100%;
        table-layout: auto;
    }
}

/* ========== BUTTONS & LINKS ========== */
button {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
button:hover {
    background: #0056b3;
}
.alert button:hover {
    background: transparent !important;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    text-decoration: none !important;
}
.btn-secondary {
    padding: 0.5rem 1.25rem;
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}
.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    text-decoration: none !important;
}
.btn-sm {
    font-size: 0.875rem;
}
a, .btn-link {
    color: #007bff;
    text-decoration: none;
    position: relative;
    z-index: 10;
    font-size: 0.875rem;
}
a:hover, .btn-link:hover {
    text-decoration: underline;
    color: #0056b3;
}
.select-all-btn {
    margin-bottom: 1rem;
}
.view-note-btn {
    display: block;
    margin-top: 12px;
}

/* ========== FORMS ========== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-size: 0.875rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.form-group select {
    height: 2.375rem;
}
.form-group select[multiple] {
    height: 120px;
    padding: 0.25rem;
}
.form-group select.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}
.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.form-group.checkbox label {
    margin: 0;
}
#current_password, #new_password, #confirm_password {
    max-width: 300px;
}
.actions {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.form-check {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.form-container {
    display: block;
}
.search-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}
.search-form .form-group {
    max-width: none;
    margin-bottom: 0;
}
.search-form .btn-primary {
    flex-shrink: 0;
}
.search-form .spinner,
.form-container .spinner {
    display: none !important;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}
.search-form .form-control {
    min-width: 250px;
}
.table-responsive th,
.table-responsive td {
    white-space: nowrap;
    line-height: 30px;
}

.form-select {
    min-width: 250px;
    width: auto;
}

/* ========== LIST COMPANIES  / CONTACTS ============ */
.spinner {
    display: none;
}
.filter-form .search-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.25rem;
}
.filter-form .search-group .form-control {
    flex: 1 1 auto;
    max-width: 100%;
}
.filter-form .search-group .btn {
    flex: 0 0 auto;
}
.filter-form .col-3 .form-select {
    max-width: 100%;
}
@media (max-width: 991px) {
    .filter-form .col-3 .form-select {
        min-width: 0;
        width: 100%;
    }
}

.score-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 6px;
    position: relative;
    top: 1px;
}
.score-circle.green  { background-color: #28a745; }
.score-circle.yellow { background-color: #ffc107; }
.score-circle.red    { background-color: #dc3545; }
.score-circle.gray   { background-color: #ccc; }

/* ========== TABLES & PAGINATION ========== */
.table {
    margin-bottom: 0;
}
.table-responsive {
    position: static !important;
    z-index: auto !important;
}
.table thead th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

tr.revoked td,
.table tbody tr.inactive td {
    background-color: rgb(255, 165, 165) !important;
}
.table tbody tr.inactive:hover td {
    background-color: rgb(255, 165, 165) !important;
}
.pagination {
    justify-content: center;
}
.pagination .page-link {
    color: #007bff;
    border-radius: 0.25rem;
    margin: 0 2px;
}
.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}
.pagination .page-link:hover {
    background-color: #e9ecef;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
}
.table-responsive th,
.table-responsive td {
    white-space: nowrap;
}
.table-responsive td.data-column {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    max-width: 600px;
}

.text-danger {
    background: yellow;
    padding: 4px;
}

.text-delete {
    /* background: rgb(206, 206, 206); */
    padding: 4px;
    color: red;
}
/* ========== REASSIGN COMPANY ONLY ========== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 24px;
}
.contact-card {
    background-color: #f0f7ff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    min-width: 300px;
    padding: 1rem;
    margin-bottom: 15px;
    position: relative;
    cursor: move;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contacts-grid .contact-card { 
    cursor: default;
}

.alert {
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 1rem 0;
}
.select2-container .select2-selection--single {
    height: 2.375rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2.375rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.375rem;
}
.select2-container .select2-selection--multiple {
    min-height: 2.375rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* ========== DUPLICATE INDICATORS & CELL STYLES ========== */
.duplicate-circle {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}
.duplicate-yellow {
    background-color: #ffc107;
}
.duplicate-red {
    background-color: #dc3545;
}
.company-cell,
.contact-cell {
    padding: 0.5rem;
}
.contact-dates {
    font-size: 0.675rem;
    color: #6c757d;
}

/* ========== NOTE & SWITCH STYLES ========== */
.note-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #f5f9ff;
    position: relative;
    padding: 12px !important;
    margin-bottom: 12px !important;
    cursor: move;
}

.note-row {
       border-bottom: white !important;
}
.note-card a:hover {
    text-decoration: none !important;
}
.note-card.overdue {
    border-left: 10px solid #ff0019;
}

.note-card.almostoverdue {
     border-left: 10px solid orange;
}

.note-block:hover tr {
    background-color: #f5f5f5; /* highlights both rows together */
    transition: background-color 0.2s; /* smooth hover */
}

.view-note-btn a {
    text-decoration: none;
}
.note-details {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fff;
    padding: 1.5rem;
}
.note-header {
    font-size: 0.7rem;
    color: #000;
}

.remindertoday {
    background: red;
    color: #fff;
    padding: 4px;
}

.note-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.table-responsive td.note-column {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    max-width: 180px;
    line-height: 20px;
}
.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    font-size: 14px;
}
.status-acknowledged {
    background-color: #28a745;
}
.status-overdue {
    background-color: #dc3545;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
input:disabled + .slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}
.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.switch-error {
    font-size: 12px;
    color: #dc3545;
}
.inactive-card {
    background-color: #ffe6e6;
}

.note-content-row {
    background-color: #f9f9f9; /* Light background to group with main row */
    border-bottom: 2px solid #000;
}
.note-content {
    padding: 10px 15px; /* Match table cell padding */
    font-style: italic; /* Distinguish note content */
    line-height: 16px !important;
    max-width: 600px; /* Limit width to prevent stretching */
    white-space: normal !important;
}
#n_reminder_date,#reminder_date {
    width: 200px !important;
}


/* ========== BADGE STYLES ========== */
.badge {
    font-size: 0.875rem;
    margin: 0.2rem;
}
.inactive-badge {
    opacity: 0.25;
}

/* ========== MODAL STYLES ========== */
.modal-body .warning {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.modal {
    z-index: 106000 !important;
}
.modal.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.modal-backdrop {
    z-index: 100050 !important;
}
.modal-header button:hover {
    background: transparent !important;
}

.btn-close {
  /* Remove the default SVG background */
  background: transparent !important;
  /* Use a text "X" instead */
  text-align: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #000 !important; /* Black color for the X */
  text-decoration: none;
  /* Ensure proper sizing and alignment */
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Replace the button content with "X" */
.btn-close::before {
  content: "×"; /* Unicode for multiplication sign, looks like an X */
  font-weight: bold;
}

/* Optional: Adjust hover/focus states */
.btn-close:hover,
.btn-close:focus {
  color: #000 !important;
  opacity: 0.75; /* Mimics Bootstrap's default hover opacity */
  text-decoration: none;
}

/* ========== DEFINITION LIST STYLES ========== */
.row dt {
    font-weight: 500;
    color: #333;
}
.row dd {
    color: #555;
}

/* ========== PRIVILEGE STYLES ========== */
.privilege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}
.privilege-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: #fff;
}
.privilege-item label {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    flex-grow: 1;
}

/* ========== AUTOCOMPLETE STYLES ========== */
.autocomplete-suggestions {
    border-top: none;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
}
.autocomplete-suggestion {
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background: #f0f0f0;
}

/* ========== REPORTS STYLES ========== */
.form-container .spinner {
    display: none !important;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* ========== DASHBOARD & SORTABLE STYLES ========== */
.notes-section, .overdue-section, .contacts-section, .favourites-section {
    margin: 20px 0;
}
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196F3;
    transition: background-color 0.2s ease;
    border-radius: 20px;
}
.checkmark:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 4px;
    background-color: white;
    transition: transform 0.2s ease;
    border-radius: 50%;
}
input:checked + .checkmark {
    background-color: #2196f3;
}
input:checked + .checkmark:before {
    transform: translateX(20px);
}
input:disabled + .checkmark {
    background-color: #e0e0e0;
    cursor: not-allowed;
}
.error-text {
    font-size: 12px;
    color: #dc3545;
    display: none;
    margin-left: 8px;
}
.hidden {
    display: none !important;
}
.error-message-block {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 20px 0;
}
.no-notes, .no-contacts, .no-favourites {
    color: #6c757d;
    font-style: italic;
}
.sortable-placeholder {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    height: 60px;
    margin: 5px 0;
}
.sortable .contact-card.ui-sortable-helper {
    opacity: 0.7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-content {
    display: flex;
    align-items: center;
}
.fas.fa-grip-vertical {
    margin-right: 10px;
    cursor: move;
    color: #666;
    font-size: 1.2em;
}
.contact-info {
    flex-grow: 1;
}


.sortable-dragging-invalid {
    border: 2px solid red !important;
    opacity: 0.5;
}

.fav .contact-card {
    cursor: grab;
    width: 100%;
    padding: 10px;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.fav .contact-card:active {
    cursor: grabbing;
}
.fav .contact-card.dragging {
    opacity: 0.8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
    .fav .fa-grip-vertical {
        display: none !important; /* Hide grab icon on mobile */
    }
    .fav .contact-card {
        cursor: default; /* No drag cursor on mobile */
    }
}
/* ========== LOGIN========== */
.login-container { max-width: 400px; margin: 100px auto; }
.turnstile-container { margin-bottom: 2rem; }
.turnstile-error { color: red; font-size: 0.9rem; }
.setup-container { max-width: 500px; margin: 50px auto; }
.qr-code { text-align: center; margin: 20px 0; }
.backup-codes { background: #f8f9fa; padding: 15px; border-radius: 5px; }
.verify-container { max-width: 400px; margin: 100px auto; }

/* ========== LIST ADMIN =========== */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media (max-width: 767px) {
    .action-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .action-buttons .btn {
        width: 100%;
    }
}
/* ========== IP ========== */
.octet {
    margin: 0 5px;
}
.is-invalid {
    border-color: #dc3545;
}
/* ========== CODE ========== */
#code {
    font-size: 24px;
    text-align: center;
}
/* ========== HIGHLIGHT CARD ========== */
.highlight-card {
    background-color: #ffc107 !important;
}
/* ========== ERROR MESSAGES ========== */
.error-message {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}
/* ========== JSON ========== */
td.data-column .json-data,
td.data-column .json-data * {
    font-size: 14px;
    line-height: 1.2 !important;
}

/* =======AUDIT LOG =============*/
.json-line {
    padding: 2px 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.diff-changed {
    background-color: #fff3cd !important;  /* Yellow highlight for changed */
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.diff-added {
    background-color: #d1ecf1 !important;  /* Light cyan for newly added fields */
    padding: 3px 6px;
    border-radius: 3px;
    color: #0c5460;
}

.diff-removed {
    background-color: #f8d7da;
    color: #721c24;
    text-decoration: line-through;
    opacity: 0.8;
}

.json-na {
    color: #999;
    font-style: italic;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-select {
        min-width: 0;
        width: 100%;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .container {
        margin: 1rem 0.5rem;
        padding: 1rem;
        max-width: calc(100% - 1rem);
    }

    .search-form .form-control {
        min-width: 200px;
        margin-bottom:12px;
    }

    .actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .table-responsive {
        overflow-x: auto;
        max-width: 100%;
        display: block;
    }
    .table {
        width: 100%;
        table-layout: auto;
    }
    .note-header {
        position: relative;
        top: 0;
        right: 0;
    }
    .row-cols-md-2 .col {
        margin-bottom: 1rem;
    }
    .form-group {
        max-width: 100%;
    }
    .top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .top-bar .form-group {
        width: 100%;
    }
    .top-bar .btn-primary {
        width: fit-content;
    }
    .top-bar .search-form {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .top-bar .search-form .form-group {
        width: auto;
        flex-grow: 1;
    }
    .top-bar .search-form .btn-primary {
        width: auto;
    }
    .modal {
        z-index: 1070 !important;
    }
    .modal-backdrop {
        z-index: 1060 !important;
    }
    .modal-dialog {
        position: relative;
        top: 10%;
        left: 5%;
        right: 5%;
        margin: 0;
        max-height: 80vh;
        overflow-y: auto;
    }
}