/* banner area inside the modal */
#changeStatusModal #status_modal_table_container #success {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

/* success look: green background at 70% transparency (30% opacity) */
#changeStatusModal #status_modal_table_container #success.is-success {
    background-color: rgba(0, 128, 0, 0.3); /* green, 70% transparent */
    color: #064b06; /* dark green text */
    border-top-color: #064b06;
    border-bottom-color: #064b06;
}

/* fail look: solid dark red header */
#changeStatusModal #status_modal_table_container #success.is-fail {
    background-color: #C00000;
    color: #ffffff;
    border-top-color: #8b0000;
    border-bottom-color: #8b0000;
}

/* bullet-list error messages */
#changeStatusModal #status_modal_table_container #msg ul {
    text-align: left;
    margin: 4px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

#changeStatusModal #status_modal_table_container #msg ul li {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.4;
}


/* Overlay: ALWAYS centered in the viewport */
#changeStatusModal {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    width:100%;
    height:100%;
    /* Global flash/alert — must sit above every other modal (profile modal,
       snnd-modal, confirm modals) regardless of DOM append order. */
    z-index: 10050;
    background: rgba(0, 0, 0, 0.6);

    /* Flexbox centering magic */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Modal content box */
#changeStatusModal .mymodal-content {
    background: #fff;
    width: min(500px, 90vw); /* Adjusted width for a cleaner look */
    border-radius: 8px;
    padding: 30px;
    position: relative; /* So the close button can anchor to it */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* Close button */
.closeProfile {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeProfile:hover,
.closeProfile:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* ── Overwrite warning modal ── */
#overwriteWarningModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#overwriteWarningModal .mymodal-content {
    background: #fff;
    width: min(480px, 90vw);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#overwriteWarningModal #overwrite_banner {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-align: center;
    background-color: rgba(204, 120, 0, 0.18);
    color: #7a3d00;
    border-top: 1px solid #a05200;
    border-bottom: 1px solid #a05200;
}

#overwriteWarningModal #overwrite_msg {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

#overwriteWarningModal .overwrite-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#overwriteWarningModal .overwrite-actions button {
    min-width: 130px;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}

#overwriteWarningModal .overwrite-actions .btn-overwrite {
    background-color: #a05200;
    color: #fff;
    border: 1px solid #7a3d00;
}

#overwriteWarningModal .overwrite-actions .btn-overwrite:hover {
    background-color: #7a3d00;
}

#overwriteWarningModal .overwrite-actions .btn-cancel {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #aaa;
}

#overwriteWarningModal .overwrite-actions .btn-cancel:hover {
    background-color: #d5d5d5;
}

/* ── Delete confirmation modal ── */
#deleteConfirmModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#deleteConfirmModal .mymodal-content {
    background: #fff;
    width: min(480px, 90vw);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#deleteConfirmModal #delete_banner {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-align: center;
    background-color: rgba(165, 32, 32, 0.12);
    color: #6b0000;
    border-top: 1px solid #a52020;
    border-bottom: 1px solid #a52020;
}

#deleteConfirmModal #delete_msg {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

#deleteConfirmModal .delete-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#deleteConfirmModal .delete-actions button {
    min-width: 130px;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}

#deleteConfirmModal .delete-actions .btn-delete-confirm {
    background-color: #a52020;
    color: #fff;
    border: 1px solid #6b0000;
}

#deleteConfirmModal .delete-actions .btn-delete-confirm:hover {
    background-color: #7a1515;
}

#deleteConfirmModal .delete-actions .btn-delete-cancel {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #aaa;
}

#deleteConfirmModal .delete-actions .btn-delete-cancel:hover {
    background-color: #d5d5d5;
}

/* ── Generic SNND Confirm modal ── */
#snndConfirmModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#snndConfirmModal .mymodal-content {
    background: #fff;
    width: min(480px, 90vw);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#snndConfirmModal #snnd_confirm_banner {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-align: center;
    background-color: rgba(17, 49, 87, 0.10);
    color: #113157;
    border-top: 1px solid #113157;
    border-bottom: 1px solid #113157;
}

#snndConfirmModal #snnd_confirm_msg {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

#snndConfirmModal .snnd-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#snndConfirmModal .snnd-confirm-actions button {
    min-width: 130px;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
    font-family: Raleway, sans-serif;
}

#snndConfirmModal .snnd-confirm-actions .btn-snnd-confirm {
    background-color: #113157;
    color: #fff;
    border: 1px solid #0a1e38;
}

#snndConfirmModal .snnd-confirm-actions .btn-snnd-confirm:hover {
    background-color: #0a1e38;
}

#snndConfirmModal .snnd-confirm-actions .btn-snnd-cancel {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #aaa;
}

#snndConfirmModal .snnd-confirm-actions .btn-snnd-cancel:hover {
    background-color: #d5d5d5;
}

/* ── Payment Detail Modal ── */
#paymentDetailModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px;
    overflow-y: auto;
}

#paymentDetailModal .pdm-content {
    background: #fff;
    width: min(900px, 95vw);
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
}

.pdm-header {
    background: #113157;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdm-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pdm-terminal-name {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Arial Black', Arial, sans-serif;
}

.pdm-period {
    font-size: 13px;
    color: #a8c4e0;
    margin-top: 3px;
}

.pdm-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.pdm-status-badge.reconciled {
    background: rgba(0,168,0,0.22);
    color: #7eeaaa;
    border: 1px solid rgba(0,168,0,0.5);
}

.pdm-status-badge.paid {
    background: rgba(220,140,0,0.22);
    color: #ffd97a;
    border: 1px solid rgba(220,140,0,0.5);
}

.pdm-status-badge.pending {
    background: rgba(84,145,190,0.22);
    color: #a8cef0;
    border: 1px solid rgba(84,145,190,0.5);
}

.pdm-close {
    cursor: pointer;
    opacity: 0.75;
    flex-shrink: 0;
    line-height: 0;
}

.pdm-close:hover { opacity: 1; }

.pdm-body {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.pdm-details {
    flex: 0 0 240px;
}

.pdm-details table {
    width: 100%;
    border-collapse: collapse;
}

.pdm-details table td {
    padding: 5px 6px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.pdm-details table td:first-child {
    font-weight: 600;
    color: #113157;
    white-space: nowrap;
    padding-right: 10px;
}

.pdm-details table td:last-child {
    color: #5491be;
}

.pdm-preview {
    flex: 1;
    min-width: 0;
}

.pdm-preview iframe {
    width: 100%;
    height: 360px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
}

.pdm-admin-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px 10px;
}

.pdm-admin-controls select {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #aaa;
    cursor: pointer;
}

.pdm-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #e8e8e8;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.pdm-footer-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

a.pdm-btn, button.pdm-btn {
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    display: inline-block;
    line-height: 1.4;
    font-family: inherit;
}

a.pdm-btn-primary, button.pdm-btn-primary {
    background: #113157;
    color: #fff !important;
}

a.pdm-btn-primary:hover, button.pdm-btn-primary:hover {
    background: #0d2440;
}

a.pdm-btn-danger, button.pdm-btn-danger {
    background: #a52020;
    color: #fff;
}

a.pdm-btn-danger:hover, button.pdm-btn-danger:hover {
    background: #7a1515;
}

a.pdm-btn-secondary, button.pdm-btn-secondary {
    background: #e9e9e9;
    color: #333;
    border: 1px solid #aaa;
}

a.pdm-btn-secondary:hover, button.pdm-btn-secondary:hover {
    background: #d5d5d5;
}

/* ── Profile modal ────────────────────────────────────────────────────────── */
#myProfileViewModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.prf-modal-content {
    background: #fff;
    width: min(520px, 94vw);
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.prf-header {
    background: #113157;
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.prf-header-title {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prf-close {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    opacity: 0.75;
    font-size: 18px;
    line-height: 1;
    color: #fff;
}

.prf-close:hover { opacity: 1; }

.prf-body {
    padding: 22px 24px 20px;
    overflow-y: auto;
    max-height: calc(88vh - 56px);
}

.prf-grid {
    display: grid;
    row-gap: 5px;
}

.prf-section-title {
    font-family: Raleway, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #5491BE;
    padding-top: 7px;
    border-top: 1px solid #e8edf3;
    margin-top: 3px;
}

.prf-section-title:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.prf-row {
    display: grid;
    grid-template-columns: 145px 1fr;
    align-items: center;
    column-gap: 14px;
}

.prf-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4a5568;
    font-weight: 600;
    white-space: nowrap;
}

.prf-value {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #113157;
    padding: 1px 0;
}

.prf-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    font-family: Raleway, Arial, sans-serif;
    padding: 5px 6px;
    border: none;
    border-bottom: 1px solid #bec5cf;
    border-radius: 2px;
    outline: none;
    background: transparent;
    color: #222;
}

.prf-input:focus {
    border-bottom-color: #5491BE;
    background: #f4f7fb;
}

.prf-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid #e8edf3;
}

.prf-save-btn {
    background: #113157;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Raleway, Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.03em;
}

.prf-save-btn:hover { background: #0d2440; }

/* ── User role filter buttons ── */
.user-role-filter-btn {
    font-family: Raleway, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border: 1px solid #b0c4d8;
    border-radius: 16px;
    background: #ffffff;
    color: #113157;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.user-role-filter-btn:hover  { background: #e8f0f8; }
.user-role-filter-btn.active { background: #113157; color: #ffffff; border-color: #113157; }

/* ── Cargo delete confirmation modal ── */
#cargoConfirmModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#cargoConfirmModal .mymodal-content {
    background: #fff;
    width: min(420px, 90vw);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#cargo_delete_banner {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-align: center;
    background-color: rgba(165, 32, 32, 0.12);
    color: #6b0000;
    border-top: 1px solid #a52020;
    border-bottom: 1px solid #a52020;
}

#cargo_confirm_msg {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

.cargo-delete-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cargo-delete-actions button {
    min-width: 130px;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
}

.cargo-btn-delete {
    background-color: #a52020;
    color: #fff;
    border: 1px solid #6b0000;
}

.cargo-btn-delete:hover {
    background-color: #7a1515;
}

.cargo-btn-cancel {
    background-color: #e9e9e9;
    color: #333;
    border: 1px solid #aaa;
}

.cargo-btn-cancel:hover {
    background-color: #d5d5d5;
}

/* ── Generic confirm modal (shared) ──
   Same look as the cargo delete confirmation, but reusable on any page.
   Reuses .cargo-delete-actions / .cargo-btn-delete / .cargo-btn-cancel. */
.snnd-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.snnd-confirm-modal .mymodal-content {
    background: #fff;
    width: min(440px, 90vw);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.snnd-confirm-banner {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 20px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-align: center;
    background-color: rgba(165, 32, 32, 0.12);
    color: #6b0000;
    border-top: 1px solid #a52020;
    border-bottom: 1px solid #a52020;
}

.snnd-confirm-msg {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* ── Record Terminal Tonnage modal ── */
#recordTonnageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9500;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.rton-content {
    background: #fff;
    width: min(900px, 95vw);
    border-radius: 8px;
    padding: 28px 30px 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.rton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8edf3;
}

.rton-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #113157;
    margin: 0;
    padding: 0;
}

.rton-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #6c8aab;
    padding: 0;
    line-height: 1;
    box-shadow: none;
}

.rton-close:hover {
    color: #113157;
    background: none;
    box-shadow: none;
    transform: none;
}

.rton-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(17, 49, 87, 0.1);
    margin-top: 16px;
    padding-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shared data-input modal — the standard look for every "click a button →
   form opens in a modal" interaction site-wide (Record Tonnage, Add Fee,
   Add Cargo, Add Terminal, Add Vessel, …). Navy header, white body, light
   footer. Open/close with jQuery:
       $('#id').css({display:'flex', opacity:0}).animate({opacity:1}, 200);
       $('#id').fadeOut(200);
   ═══════════════════════════════════════════════════════════════════════════ */
.snnd-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9600;
    background: rgba(0, 0, 0, 0.55);
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.snnd-modal-content {
    background: #fff;
    width: min(820px, 96vw);
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

/* Narrow variant for short add-forms (cargo / vessel / fee). */
.snnd-modal-content.snnd-modal-sm { width: min(560px, 96vw); }

.snnd-modal-header {
    background: #113157;
    color: #fff;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snnd-modal-title {
    font-family: Raleway, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0;
    color: #9ec5ef;            /* lighter blue title on the navy header bar */
}

.snnd-modal-close {
    background: none;
    border: none;
    box-shadow: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #aac4dd;
    padding: 0;
    transition: color 0.15s ease;
}
.snnd-modal-close:hover {
    color: #fff;
    background: none;
    box-shadow: none;
    transform: none;
}

.snnd-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    max-height: calc(90vh - 130px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #2c3e50;
}

.snnd-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 22px;
    background: #f8f9fb;
    border-top: 1px solid #e8edf3;
}

/* Footer variant that pushes a summary (e.g. Grand Total) to the left. */
.snnd-modal-footer.snnd-modal-footer-split { justify-content: space-between; }

/* ── Standardized informational boxes ───────────────────────────────────────
   .snnd-infobox          → the existing blue informational note.
   .snnd-infobox-action   → color-distinct teal-green "do something here" box,
                            typically holding a call-to-action button on the
                            right (use the inline modifier for that layout).
   Both share the SAME max-width and are LEFT-aligned so the blue note and the
   green action box line up edge-to-edge on every page. */
.snnd-infobox {
    background: #f0f4fa;
    border-left: 4px solid #5491BE;
    padding: 12px 16px;
    border-radius: 0 4px 4px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    margin: 14px 0 16px 0;
    max-width: 860px;
    box-sizing: border-box;
}

.snnd-infobox-action {
    background: #eef6f1;
    border-left: 4px solid #2e8b6f;
    padding: 12px 16px;
    border-radius: 0 4px 4px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #2f4f45;
    line-height: 1.6;
    margin: 6px 0 16px 0;
    max-width: 860px;
    box-sizing: border-box;
}

/* Lay the action box out as text-left / button-right. */
.snnd-infobox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.snnd-infobox-row .snnd-action-btn { flex-shrink: 0; white-space: nowrap; }

/* Lists inside an info-box render as normal, left-aligned, full-width bullets.
   The !important overrides exist because `.tabs ul` / `.tabs ul li` (tab-nav
   styling in tabbed_browsing*.css) otherwise turn every list inside a tabbed
   page into a flex row of 25%-wide, centered items. */
.snnd-infobox ul,
.snnd-infobox-action ul {
    display: block !important;
    flex-direction: initial !important;
    flex-wrap: initial !important;
    justify-content: initial !important;
    align-items: initial !important;
    list-style: disc outside !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 0 !important;
    padding-left: 22px !important;
}
.snnd-infobox ul li,
.snnd-infobox-action ul li {
    display: list-item !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
    text-align: left !important;
}
.snnd-infobox ul li:last-child,
.snnd-infobox-action ul li:last-child { margin-bottom: 0 !important; }

/* Green call-to-action button to match the action info box. */
/* Lighter resting state, distinctly darker on hover (Chris-18, made global). */
.snnd-action-btn.snnd-action-btn-green { background-color: #34997b; }
.snnd-action-btn.snnd-action-btn-green:hover  { background-color: #2a7d63; }
.snnd-action-btn.snnd-action-btn-green:active { background-color: #21664f; }

/* Amber "alert" call-to-action button (matches the warning-yellow accent) —
   for actions that should stand out, e.g. Request Invoice Removal. */
.snnd-action-btn.snnd-action-btn-alert        { background-color: #e6a817; color: #4a3500; }
.snnd-action-btn.snnd-action-btn-alert:hover  { background-color: #cf9512; }
.snnd-action-btn.snnd-action-btn-alert:active { background-color: #b8830f; }

/* Light-blue "Clear Search Values" button — the site-title blue (#5491BE from the
   header h1), the inverse of the navy Search button, with a darker shade on hover. */
.snnd-action-btn.snnd-action-btn-clear        { background-color: #5491BE; }
.snnd-action-btn.snnd-action-btn-clear:hover  { background-color: #3f7099; }
.snnd-action-btn.snnd-action-btn-clear:active { background-color: #345d80; }
