.tnt-container {
    max-width: 1600px;
    margin: 0 auto;
}

.tnt-health-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tnt-search-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-login-prompt {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.tnt-search-row {
    gap: 12px;
    width: 100%;
}

.tnt-search-row .form-group {
    min-width: 180px;
    margin-bottom: 0;
}

#tntSearchModeSelector label {
    font-size: 12px;
}

.tnt-results {
    display: none;
}

.tnt-results.visible {
    display: block;
}

.tnt-order-result {
    margin-bottom: 30px;
}

.tnt-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-header-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tnt-header-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    font-size: 13px;
}

.tnt-assessment {
    background: white;
    padding: 15px 20px;
    border-left: 4px solid #ffc107;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 48px;
}

.tnt-assessment-item {
    font-size: 13px;
    margin-bottom: 6px;
}

.tnt-assessment-label {
    font-weight: 600;
}

.tnt-process-timeline {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-process-timeline h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.tnt-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tnt-timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 120px;
}

.tnt-timeline-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.tnt-step-completed {
    background: #28a745;
}

.tnt-step-in-progress {
    background: #ffc107;
}

.tnt-step-pending {
    background: #e0e0e0;
    color: #999;
}

.tnt-timeline-label {
    font-size: 11px;
    text-align: center;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

.tnt-matrix-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #ddd;
    position: relative;
}

.tnt-matrix-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 400px;
    position: relative;
}

.tnt-matrix-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.tnt-matrix-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tnt-matrix-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tnt-matrix-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.tnt-pivot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 1200px;
}

.tnt-pivot-table thead {
    background: #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tnt-pivot-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.tnt-pivot-table td {
    padding: 10px 8px;
    border: 1px solid #e0e0e0;
}

.tnt-pivot-table tbody tr:hover {
    background: #fafafa;
}

.tnt-domain-header {
    background: #e8f4f8;
    font-weight: 700;
    color: #007bff;
    text-align: center;
    border: 2px solid #007bff;
}

.tnt-qty-ok {
    color: #28a745;
    font-weight: 600;
}

.tnt-qty-warn {
    color: #ffc107;
    font-weight: 600;
}

.tnt-qty-error {
    color: #dc3545;
    font-weight: 600;
}

.tnt-tag {
    display: inline-block;
    padding: 3px 8px;
    background: #e8f4f8;
    color: #007bff;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.tnt-no-results {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #666;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-detail-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-detail-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tnt-suffix-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    flex-wrap: wrap;
}

.tnt-suffix-nav-label {
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.tnt-suffix-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tnt-suffix-btn {
    padding: 6px 12px;
    background: #e0e0e0;
    border: 1px solid #999;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s;
}

.tnt-suffix-btn:hover {
    background: #d0d0d0;
}

.tnt-suffix-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.tnt-suffix-info {
    font-size: 11px;
    color: #999;
    margin-left: 12px;
}

.tnt-suffix-info-warn {
    color: #ffc107;
    font-weight: 600;
}

.tnt-plstore-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.tnt-plstore-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
}

.tnt-plstore-card h4 {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.tnt-plstore-meta {
    font-size: 11px;
    margin-bottom: 8px;
}

.tnt-plstore-meta-label {
    color: #999;
}

.tnt-plstore-meta-value {
    font-weight: 600;
    color: #333;
}

.tnt-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.tnt-detail-table th {
    background: #f0f0f0;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.tnt-detail-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.tnt-detail-table tr:hover {
    background: #fafafa;
}

.tnt-positions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 12px;
}

.tnt-positions-table th {
    background: #f0f0f0;
    padding: 8px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    font-size: 10px;
}

.tnt-positions-table td {
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.tnt-positions-table tr:hover {
    background: #fafafa;
}

#tntRawResponseModal .modal-dialog {
    max-width: 1200px; /* modal-lg (800px) + 50% */
}

.tnt-raw-response-meta {
    margin-bottom: 12px;
}

.tnt-raw-response-meta-row {
    margin-bottom: 6px;
}

.tnt-raw-response-meta-label {
    font-weight: 600;
    margin-right: 6px;
}

.tnt-raw-response-origin {
    font-weight: 600;
    word-break: break-all;
}

.tnt-raw-response-body {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px;
    max-height: 60vh;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 0;
}

.tnt-order-selection {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tnt-order-selection-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tnt-order-selection-table th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    font-size: 12px;
}

.tnt-order-selection-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.tnt-order-selection-table tr:hover {
    background: #fafafa;
}

.tnt-variant-suffix-btn {
    border: 1px solid #ccc;
    background: white;
    padding: 4px 10px;
    margin-right: 4px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.tnt-variant-suffix-btn.active {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.tnt-raw-response-empty {
    color: #6c757d;
    padding: 24px 12px;
    text-align: center;
    font-size: 14px;
}

#tntRawResponseTabContent .tnt-raw-response-meta {
    margin-bottom: 12px;
}
