:root {
    --jmsj-blue: #2e8cff;
    --jmsj-blue-dark: #1767cf;
    --jmsj-blue-light: #eaf4ff;
    --jmsj-blue-border: #b8d8ff;
    --jmsj-shell-bg: #eef3f8;
    --jmsj-surface: rgba(255, 255, 255, 0.88);
    --jmsj-surface-strong: #ffffff;
    --jmsj-surface-muted: #f5f8fc;
    --jmsj-border: rgba(16, 24, 40, 0.08);
    --jmsj-text: #1c2434;
    --jmsj-text-muted: #6b7385;
    --jmsj-sidebar-bg: linear-gradient(180deg, #162235 0%, #101b2d 58%, #0a1322 100%);
    --jmsj-sidebar-border: rgba(255, 255, 255, 0.08);
    --jmsj-sidebar-text: rgba(232, 240, 255, 0.86);
    --jmsj-sidebar-text-muted: rgba(196, 208, 228, 0.64);
    --jmsj-sidebar-active: linear-gradient(135deg, rgba(46, 140, 255, 0.22), rgba(84, 183, 255, 0.12));
    --jmsj-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --jmsj-radius-lg: 24px;
    --jmsj-radius-md: 18px;
    --jmsj-radius-sm: 14px;
}

[data-bs-theme="dark"] {
    --jmsj-blue: #5db3ff;
    --jmsj-blue-dark: #8bc6ff;
    --jmsj-blue-light: rgba(93, 179, 255, 0.18);
    --jmsj-blue-border: rgba(93, 179, 255, 0.34);
    --jmsj-shell-bg: #0b1320;
    --jmsj-surface: rgba(17, 25, 40, 0.9);
    --jmsj-surface-strong: #111a2b;
    --jmsj-surface-muted: #0f1727;
    --jmsj-border: rgba(255, 255, 255, 0.08);
    --jmsj-text: #edf4ff;
    --jmsj-text-muted: #96a4bc;
    --jmsj-sidebar-bg: linear-gradient(180deg, #07101d 0%, #0a1424 55%, #0d1a30 100%);
    --jmsj-sidebar-border: rgba(255, 255, 255, 0.07);
    --jmsj-sidebar-text: rgba(236, 243, 255, 0.9);
    --jmsj-sidebar-text-muted: rgba(165, 184, 212, 0.72);
    --jmsj-sidebar-active: linear-gradient(135deg, rgba(93, 179, 255, 0.22), rgba(0, 197, 255, 0.14));
    --jmsj-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

html,
body {
    background:
        radial-gradient(circle at top left, rgba(46, 140, 255, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(30, 182, 132, 0.12), transparent 30%),
        var(--jmsj-shell-bg);
    color: var(--jmsj-text);
}

body,
.text-dark,
.text-dark-75,
.text-dark-50 {
    color: var(--jmsj-text) !important;
}

.text-muted {
    color: var(--jmsj-text-muted) !important;
}

a,
.text-primary {
    color: var(--jmsj-blue) !important;
}

a:hover {
    color: var(--jmsj-blue-dark) !important;
}

.btn.btn-primary {
    background-color: var(--jmsj-blue) !important;
    border-color: var(--jmsj-blue) !important;
    color: #ffffff !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: var(--jmsj-blue-dark) !important;
    border-color: var(--jmsj-blue-dark) !important;
    color: #ffffff !important;
}

.btn.btn-light-primary,
.bg-light-primary {
    background-color: var(--jmsj-blue-light) !important;
    border-color: var(--jmsj-blue-light) !important;
    color: var(--jmsj-blue) !important;
}

.btn.btn-light-primary:hover,
.btn.btn-light-primary:focus {
    background-color: #d8eaff !important;
    border-color: #d8eaff !important;
    color: var(--jmsj-blue-dark) !important;
}

.label.label-light-primary {
    background-color: var(--jmsj-blue-light) !important;
    color: var(--jmsj-blue) !important;
}

.border-primary {
    border-color: var(--jmsj-blue-border) !important;
}

a.btn:hover,
.btn:hover {
    transform: translateY(-1px);
}

.jmsj-shell .card,
.jmsj-shell .table,
.jmsj-shell .dropdown-menu,
.jmsj-shell .modal-content,
.jmsj-shell .form-control,
.jmsj-shell .custom-file-label,
.jmsj-shell .list-group-item,
.jmsj-shell .alert,
.jmsj-shell .pagination .page-link {
    background-color: var(--jmsj-surface-strong);
    border-color: var(--jmsj-border) !important;
    color: var(--jmsj-text);
}

.jmsj-shell .card,
.jmsj-shell .table,
.jmsj-shell .dropdown-menu,
.jmsj-shell .modal-content,
.jmsj-shell .alert {
    box-shadow: var(--jmsj-shadow);
}

.jmsj-shell .table td,
.jmsj-shell .table th {
    border-color: var(--jmsj-border) !important;
    color: inherit;
}

.jmsj-shell div.dataTables_wrapper div.dataTables_filter input,
.jmsj-shell div.dataTables_wrapper div.dataTables_length select {
    background-color: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    border-radius: 0.65rem;
    color: var(--jmsj-text);
    min-height: calc(1.5em + 1.3rem + 2px);
}

.jmsj-shell div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0.75rem;
    min-width: 220px;
    padding: 0.65rem 0.95rem;
}

.jmsj-shell div.dataTables_wrapper div.dataTables_length select {
    margin: 0 0.45rem;
    padding: 0.45rem 2rem 0.45rem 0.85rem;
}

.jmsj-shell .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 999px !important;
    margin: 0 0.15rem;
    min-width: 2.35rem;
}

.jmsj-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.jmsj-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--jmsj-blue) !important;
    border-color: var(--jmsj-blue) !important;
    color: #ffffff !important;
}

.jmsj-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--jmsj-blue-light) !important;
    border-color: var(--jmsj-blue-border) !important;
    color: var(--jmsj-blue-dark) !important;
}

.jmsj-shell .dataTables_wrapper .dataTables_info,
.jmsj-shell .dataTables_wrapper .dataTables_length,
.jmsj-shell .dataTables_wrapper .dataTables_filter {
    color: var(--jmsj-text-muted) !important;
}

.jmsj-shell table.dataTable > thead > tr > th.sorting,
.jmsj-shell table.dataTable > thead > tr > th.sorting_asc,
.jmsj-shell table.dataTable > thead > tr > th.sorting_desc {
    padding-right: 2rem !important;
}

.jmsj-shell .table tbody tr:nth-of-type(odd) > * {
    background-color: #eef1f5 !important;
}

.jmsj-shell .jmsj-bookings-table-container {
    max-width: 100%;
    overflow-x: auto;
}

.jmsj-shell .jmsj-bookings-table-container .dataTables_wrapper,
.jmsj-shell .jmsj-bookings-table-container .dataTables_scroll,
.jmsj-shell .jmsj-bookings-table-container .dataTables_scrollHead,
.jmsj-shell .jmsj-bookings-table-container .dataTables_scrollBody {
    max-width: 100%;
}

.jmsj-shell .form-control:focus,
.jmsj-shell .custom-file-input:focus ~ .custom-file-label {
    border-color: var(--jmsj-blue-border) !important;
    box-shadow: 0 0 0 0.2rem rgba(46, 140, 255, 0.16) !important;
}

.jmsj-app-shell {
    min-width: 0;
    min-height: 100vh;
    overflow-x: clip;
}

.jmsj-main-shell {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 992px) {
    #jmsj-sidebar {
        flex: 0 0 300px;
        position: static;
    }
}

#jmsj-sidebar {
    background: var(--jmsj-sidebar-bg);
    border-right: 1px solid var(--jmsj-sidebar-border);
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.12);
    color: var(--jmsj-sidebar-text);
    overflow-y: auto;
    position: relative;
    z-index: 30;
}

#jmsj-sidebar .sidebar-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 1.15rem;
    justify-content: center;
    margin-top: 0.15rem;
    width: 1.15rem;
}

#jmsj-sidebar .sidebar-icon svg {
    height: 1.05rem;
    width: 1.05rem;
}

.jmsj-sidebar-brand {
    align-items: flex-start;
    border-bottom: 1px solid var(--jmsj-sidebar-border);
    display: flex;
    justify-content: space-between;
    padding: 1.75rem 1.5rem 1.35rem;
}

.jmsj-sidebar-kicker {
    color: rgba(151, 203, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.jmsj-sidebar-subtitle {
    color: var(--jmsj-sidebar-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 210px;
}

.jmsj-sidebar-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.25rem 1rem 1rem;
}

.jmsj-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jmsj-nav-section__label {
    color: var(--jmsj-sidebar-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0 0.8rem;
    text-transform: uppercase;
}

.jmsj-nav-link {
    align-items: flex-start;
    border: 1px solid transparent;
    border-radius: var(--jmsj-radius-sm);
    color: var(--jmsj-sidebar-text) !important;
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 0.95rem;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.jmsj-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    text-decoration: none;
}

.jmsj-nav-link.is-active {
    background: var(--jmsj-sidebar-active);
    border-color: rgba(96, 183, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
}

.jmsj-nav-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.jmsj-nav-title {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
}

.jmsj-form-shell {
    padding: 2rem;
}

.jmsj-form-eyebrow {
    color: var(--jmsj-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.jmsj-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.94));
    border: 1px solid var(--jmsj-border);
    border-radius: var(--jmsj-radius-md);
    box-shadow: var(--jmsj-shadow);
    padding: 1.5rem;
}

[data-bs-theme="dark"] .jmsj-panel {
    background: linear-gradient(180deg, rgba(17, 26, 43, 0.96), rgba(15, 23, 39, 0.96));
}

.jmsj-panel__head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.jmsj-panel__eyebrow {
    color: var(--jmsj-blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.jmsj-panel__title {
    color: var(--jmsj-text);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0;
}

.jmsj-panel__hint {
    color: var(--jmsj-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 20rem;
    text-align: right;
}

.jmsj-field {
    margin-bottom: 1.35rem;
}

.jmsj-field__label {
    color: var(--jmsj-text);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.jmsj-field__hint {
    color: var(--jmsj-text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 0.6rem;
}

.jmsj-form-label {
    color: #2f3c52;
    display: block;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin-bottom: 0.55rem;
    text-transform: none;
}

.jmsj-form-label .text-danger {
    font-weight: 700;
    margin-left: 0.1rem;
}

.jmsj-shell .jmsj-control.form-control {
    background-color: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border) !important;
    border-radius: 14px;
    min-height: calc(1.5em + 1.65rem + 2px);
    padding: 0.82rem 1rem;
}

.jmsj-shell textarea.jmsj-control.form-control {
    min-height: auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.jmsj-form-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
    .jmsj-form-shell {
        padding: 1.25rem;
    }

    .jmsj-panel {
        padding: 1.15rem;
    }

    .jmsj-panel__hint {
        max-width: none;
        text-align: left;
    }

    .jmsj-form-actions {
        justify-content: stretch;
    }

    .jmsj-form-actions .btn {
        width: 100%;
    }
}

.jmsj-nav-meta {
    color: var(--jmsj-sidebar-text-muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.jmsj-nav-link.is-active .jmsj-nav-meta,
.jmsj-nav-link:hover .jmsj-nav-meta {
    color: rgba(232, 240, 255, 0.8);
}

.jmsj-sidebar-footer {
    border-top: 1px solid var(--jmsj-sidebar-border);
    color: var(--jmsj-sidebar-text-muted);
    padding: 1rem 1.5rem 1.5rem;
    position: relative;
}

.jmsj-sidebar-footer__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.jmsj-sidebar-footer__text {
    font-size: 0.85rem;
    max-width: 220px;
}

.jmsj-sidebar-footer__dot {
    background: linear-gradient(135deg, #2ee6a6, #4ea5ff);
    border-radius: 999px;
    height: 12px;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
    width: 12px;
}

.jmsj-header {
    backdrop-filter: blur(18px);
    background: var(--jmsj-surface);
    border-bottom: 1px solid var(--jmsj-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.jmsj-header-eyebrow {
    color: var(--jmsj-blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.jmsj-icon-button,
.jmsj-theme-toggle,
.jmsj-user-chip {
    background: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    box-shadow: var(--jmsj-shadow);
}

.jmsj-icon-button {
    color: var(--jmsj-text) !important;
}

.jmsj-theme-toggle {
    align-items: center;
    border-radius: 999px;
    color: var(--jmsj-text) !important;
    display: inline-flex;
    gap: 0.65rem;
    padding: 0.55rem 0.95rem;
}

.jmsj-theme-toggle__icon {
    background: linear-gradient(135deg, #f5b94c, #ffef8f);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: inline-block;
    height: 1rem;
    position: relative;
    width: 1rem;
}

[data-bs-theme="dark"] .jmsj-theme-toggle__icon {
    background: linear-gradient(135deg, #86b7ff, #bed8ff);
}

[data-bs-theme="dark"] .jmsj-theme-toggle__icon::after {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 999px;
    content: "";
    height: 0.8rem;
    left: 0.45rem;
    position: absolute;
    top: 0.02rem;
    width: 0.8rem;
}

.jmsj-theme-toggle__label {
    font-size: 0.88rem;
    font-weight: 600;
}

.jmsj-user-chip {
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
}

.jmsj-auth-shell {
    background:
        radial-gradient(circle at top center, rgba(46, 140, 255, 0.16), transparent 35%),
        radial-gradient(circle at bottom left, rgba(30, 182, 132, 0.12), transparent 28%),
        var(--jmsj-shell-bg);
}

.jmsj-auth-brand {
    color: var(--jmsj-text);
}

@media (max-width: 991.98px) {
    .jmsj-app-shell {
        display: block !important;
        position: relative;
    }

    #jmsj-sidebar {
        bottom: 0;
        left: -300px;
        max-height: 100vh;
        overflow-y: auto;
        position: fixed;
        top: 0;
        transition: left 0.22s ease;
        width: 300px !important;
        z-index: 1050;
    }

    .jmsj-main-shell {
        margin-left: 0 !important;
        width: 100%;
    }

    body[data-offcanvas-aside="on"] #jmsj-sidebar {
        left: 0;
    }

    .aside-overlay {
        background: rgba(9, 17, 30, 0.45);
        inset: 0;
        position: fixed;
        z-index: 1040;
    }

    .jmsj-header {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .jmsj-user-chip {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .jmsj-theme-toggle__label {
        display: none;
    }
}

.jmsj-form-alert {
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(255, 243, 243, 0.96), rgba(255, 235, 235, 0.96));
    border: 1px solid rgba(220, 53, 69, 0.18);
    border-left: 5px solid #dc3545;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.08);
    color: #5f1a23;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
}

.jmsj-form-alert__icon {
    align-items: center;
    background: #dc3545;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    min-width: 2rem;
}

.jmsj-form-alert__title {
    color: #8b1e2d;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.jmsj-form-alert__list {
    margin: 0;
    padding-left: 1.1rem;
}

.jmsj-form-alert__list li + li {
    margin-top: 0.25rem;
}

.jmsj-detail-sheet {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.25rem;
}

.jmsj-detail-sheet__header {
    color: #0a3a85;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.jmsj-detail-sheet__rule {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    margin-bottom: 1rem;
}

.jmsj-detail-sheet__item {
    margin-bottom: 1.15rem;
    padding-right: 1rem;
}

.jmsj-detail-sheet__label {
    color: #4b5b73;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.jmsj-detail-sheet__value {
    color: var(--jmsj-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.jmsj-status-chip {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.38rem 0.65rem;
    text-transform: uppercase;
}

.jmsj-status-chip--success {
    background: rgba(40, 167, 69, 0.12);
    color: #197338;
}

.jmsj-status-chip--warning {
    background: rgba(255, 193, 7, 0.16);
    color: #9a6700;
}

.jmsj-status-chip--danger {
    background: rgba(220, 53, 69, 0.12);
    color: #b42318;
}

.jmsj-status-chip--primary {
    background: rgba(46, 140, 255, 0.12);
    color: #0a58ca;
}

.jmsj-risk-alert {
    border-left: 5px solid transparent;
    border-radius: 1rem;
    padding: 1rem 1.15rem;
}

.jmsj-risk-alert__title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.jmsj-risk-alert--warning {
    background: rgba(255, 193, 7, 0.14);
    border-left-color: #ffc107;
    color: #7a5901;
}

.jmsj-risk-alert--danger {
    background: rgba(220, 53, 69, 0.12);
    border-left-color: #dc3545;
    color: #8b1e2d;
}

.jmsj-status-tabs {
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
}

.jmsj-status-tab {
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    color: var(--jmsj-text);
    display: inline-flex;
    gap: 0.6rem;
    padding: 0.72rem 1rem;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.jmsj-status-tab span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.jmsj-status-tab strong {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1;
    min-width: 1.85rem;
    padding: 0.38rem 0.48rem;
    text-align: center;
}

.jmsj-status-tab:hover {
    border-color: rgba(46, 140, 255, 0.35);
    box-shadow: 0 10px 22px rgba(46, 140, 255, 0.08);
    color: var(--jmsj-text);
    transform: translateY(-1px);
}

.jmsj-status-tab.is-active {
    background: linear-gradient(180deg, rgba(46, 140, 255, 0.12), rgba(255, 255, 255, 0.98));
    border-color: rgba(46, 140, 255, 0.4);
    box-shadow: 0 12px 28px rgba(46, 140, 255, 0.1);
}

.jmsj-trip-edit-section,
.jmsj-trip-view-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.2rem;
    padding: 1.35rem 1.25rem 0.5rem;
}

.jmsj-trip-edit-section__title,
.jmsj-trip-view-card__title {
    color: #0a3a85;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.jmsj-trip-view-card__title {
    background: linear-gradient(135deg, #1f3551, #142842);
    border-radius: 1.15rem 1.15rem 0 0;
    color: #f4f8ff;
    margin: -1.35rem -1.25rem 1.25rem;
    padding: 1rem 1.25rem;
}

.jmsj-trip-view-grid {
    display: grid;
    gap: 1.25rem;
}

.jmsj-trip-view-card__value {
    color: var(--jmsj-text);
    font-size: 1rem;
    line-height: 1.55;
}

.jmsj-profile-accordion {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.jmsj-profile-accordion details {
    background: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    border-radius: 0.9rem;
    overflow: hidden;
}

.jmsj-profile-accordion summary {
    align-items: center;
    color: var(--jmsj-text);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 1rem;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 1.15rem;
}

.jmsj-profile-accordion summary::-webkit-details-marker {
    display: none;
}

.jmsj-profile-accordion summary::after {
    color: var(--jmsj-blue);
    content: '+';
    font-size: 1.35rem;
    line-height: 1;
}

.jmsj-profile-accordion details[open] summary {
    border-bottom: 1px solid var(--jmsj-border);
}

.jmsj-profile-accordion details[open] summary::after {
    content: '−';
}

.jmsj-profile-accordion__body {
    padding: 1.15rem;
}

.jmsj-field-upload,
.jmsj-incident-form,
.jmsj-empty-state {
    background: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.jmsj-empty-state {
    border-style: dashed;
    padding: 2rem 1.25rem;
    text-align: center;
}

.jmsj-upload-card {
    background: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jmsj-upload-card__preview {
    align-items: center;
    background: linear-gradient(145deg, rgba(46, 140, 255, 0.12), rgba(15, 23, 42, 0.04));
    display: flex;
    height: 190px;
    justify-content: center;
    overflow: hidden;
}

.jmsj-upload-card__preview img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    width: 100%;
}

.jmsj-upload-card__preview:hover img {
    transform: scale(1.03);
}

.jmsj-upload-card__file-icon {
    align-items: center;
    background: #dc3545;
    border-radius: 0.8rem;
    box-shadow: 0 10px 22px rgba(220, 53, 69, 0.2);
    color: #fff;
    display: flex;
    font-size: 1rem;
    font-weight: 800;
    height: 72px;
    justify-content: center;
    letter-spacing: 0.08em;
    width: 60px;
}

.jmsj-upload-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}

.jmsj-upload-card__meta {
    display: grid;
    gap: 0.5rem;
}

.jmsj-upload-card__meta > div {
    display: flex;
    font-size: 0.84rem;
    gap: 0.75rem;
    justify-content: space-between;
}

.jmsj-upload-card__meta strong {
    text-align: right;
}

.jmsj-incident-list {
    display: grid;
    gap: 1rem;
}

.jmsj-incident-item {
    background: var(--jmsj-surface-strong);
    border: 1px solid var(--jmsj-border);
    border-left: 4px solid #ffc107;
    border-radius: 0.9rem;
    padding: 1.15rem;
}

.jmsj-incident-item__description {
    color: var(--jmsj-text);
    line-height: 1.6;
}
