
.trm-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    overflow: hidden;
}

.trm-sidebar {
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.trm-sidebar.collapsed {
    width: 60px;
}

.trm-sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trm-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc3545;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.trm-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
    padding: 0.25rem;
    line-height: 1;
}

.trm-collapse-btn:hover {
    color: #333;
}

.trm-nav {
    flex: 1;
    padding: 1rem 0;
}

.trm-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.trm-nav-item:hover {
    background-color: #e9ecef;
}

.trm-nav-item.active {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #1976d2;
}

.nav-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.nav-label {
    font-size: 0.9rem;
}

.trm-sidebar.collapsed .nav-label {
    display: none;
}

.trm-sidebar.collapsed .trm-logo {
    display: none;
}

.trm-main-content {
    background-color: var(--bs-primary-fill-weak);
    overflow-y: auto;
}

.trm-page-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.trm-search-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.trm-search-input {
    padding-right: 2.5rem;
}

.trm-filter-select {
    min-width: 150px;
}

.trm-search-actions {
    display: flex;
    gap: 0.5rem;
}

.trm-results-table {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.trm-results-table table {
    margin: 0;
}

.trm-results-table thead {
    background-color: #f8f9fa;
}

.trm-results-table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #666;
    padding: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.trm-result-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.trm-result-row:hover {
    background-color: #f8f9fa;
}

.trm-result-row.selected {
    background-color: #e3f2fd;
}

.trm-result-row td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.trm-handling-icons {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.trm-details-panel {
    background: white;
    height: 100%;
    overflow-y: auto;
    box-shadow: -2px 0 4px rgba(0,0,0,0.1);
}

.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.panel-title h3 {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.panel-title h4 {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.panel-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close-btn:hover {
    color: #333;
}

.panel-content {
    padding: 1.5rem;
}

.panel-section {
    margin-bottom: 2rem;
}

.panel-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    font-size: 1.25rem;
}

.container-visual {
    margin-bottom: 1rem;
}

.container-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.container-text {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.container-icons {
    display: flex;
    gap: 0.5rem;
}

.icon-item {
    font-size: 1.25rem;
    cursor: help;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    gap: 0.5rem;
}

.info-label {
    font-weight: 500;
    color: #666;
    min-width: 140px;
}

.info-value {
    color: #333;
}

.clinical-notes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #e8f5e9;
    border-radius: 4px;
}

.check-icon {
    color: #4caf50;
    font-weight: bold;
}

.collection-sop {
    margin-top: 1rem;
}

.collection-sop a {
    color: #1976d2;
    text-decoration: none;
}

.collection-sop a:hover {
    text-decoration: underline;
}

.handling-text {
    line-height: 1.6;
    color: #555;
}

.handling-text p {
    margin-bottom: 1rem;
}

.components-list {
    margin-top: 1rem;
}

.components-list h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.components-list ul {
    margin: 0;
    padding-left: 1.5rem;
}

.components-list li {
    margin-bottom: 0.25rem;
    color: #555;
}

body.trm-body {
    overflow: hidden;
}

.trm-page {
    height: 100vh;
    overflow: hidden;
}

.text-neutral-text {
    color: rgb(51, 63, 72) !important;
}

@media (max-width: 767px) {
    .sideBar {
        position: fixed;
        left: -250px;
        z-index: 1000;
        background-color: white;
        box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    }

    .sideBar.mobile-open {
        left: 0;
    }

    .mobile-menu {
        display: flex !important;
    }

    .close-button {
        background: none;
        border: none;
        padding: 8px;
        color: #666;
        cursor: pointer;
    }

    .close-button:hover {
        color: #333;
    }

    .icon-button {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }

    .close-button {
        display: none !important;
    }

    .bigLogo {
        display: block !important;
    }

    .smallLogo {
        display: none;
    }
}

.page-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--bs-primary-text);
    margin: 0 0 1.5rem 0;
}

.search-container {
    margin-bottom: 2rem;
}

.search-bar {
    margin-bottom: 1rem;
}

.search-input-container {
    position: relative;
    max-width: 281px;
}

.search-input {
    border: 1px solid var(--bs-primary-border-strong);
    border-radius: 8px;
    padding: 6px 40px 6px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: var(--bs-neutral-text);
    background: var(--bs-primary-fill-weak);
    width: 100%;
}

.search-input::placeholder {
    color: var(--bs-neutral-text-weak);
}

.search-input:focus {
    outline: none;
    border-color: var(--bs-primary-border-strong);
    box-shadow: 0 0 0 2px var(--bs-primary-border-focus);
    color: var(--bs-neutral-text);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.clickable-table {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin: 0;
}

.clickable-table thead th {
    background: var(--bs-neutral-fill);
    border-bottom: 1px solid var(--bs-primary-border);
    padding: 8px 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    color: var(--bs-primary-text);
    vertical-align: middle;
    border: none;
    height: 56px;
}

.clickable-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.clickable-table thead th.sortable:after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #f8f9fa;
}

.clickable-table thead th.sort-desc:after {
    border-bottom: 4px solid var(--bs-primary-text);
    border-top: none;
}

.clickable-table thead th.sort-asc:after {
    border-top: 4px solid var(--bs-primary-text);
    border-bottom: none;
}

.clickable-table tbody tr {
    background: var(--bs-neutral-fill);
    border-bottom: 1px solid var(--bs-primary-border);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.clickable-table tbody tr:hover {
    background-color: var(--bs-neutral-fill-weak);
    color: var(--bs-primary-text);
}

.clickable-table tbody tr:hover td {
    background-color: var(--bs-neutral-fill-weak);
    color: var(--bs-primary-text);
}

.clickable-table tbody tr:hover .handling-icon {
    background: var(--bs-neutral-fill);
    border-color: var(--bs-primary-text);
}


.clickable-table tbody td {
    padding: 16px;
    vertical-align: middle;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--bs-neutral-text);
}

.handling-icons-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.handling-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid #cdd7e3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.handling-icon svg {
    width: 20px;
    height: 20px;
}

.fee-updated-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fee-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.updated-date {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333f48;
}

.clickable-table tbody td.updated {
    text-align: left;
    vertical-align: middle;
}

.clickable-table tbody td.fee {
    text-align: left;
    vertical-align: middle;
}

.clickable-table tbody tr {
    height: 64px;
}

.clickable-table tbody td {
    height: 64px;
    line-height: 1.2;
}

.handling-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.clickable-table tbody td.fee img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

#scrollTrigger {
    height: 20px;
    width: 100%;
    visibility: hidden;
}

@media (max-width: 1200px) {
    .trm-container {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .trm-container {
        grid-template-columns: 1fr;
    }

    .trm-main-content {
        padding: 1rem;
    }
}

/* TRM Slideout utility classes */
.s-16px {
    width: 16px;
    height: 16px;
}

.description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.42em;
}

.small {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.33em;
}

.body2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
}

.caption {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.33em;
}

.fw-600 {
    font-weight: 600;
}

.fw-400 {
    font-weight: 400;
}

.text-decoration-underline {
    text-decoration: underline;
}

.rounded-1 {
    border-radius: 4px;
}

.rounded-2 {
    border-radius: 8px;
}

.rounded-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.rounded-bottom {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

