.chart-container {
    position: relative;
    height: 600px;
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 1rem;
}

.chart-container-3d {
    position: relative;
    height: 600px;
    width: 100%;
    margin-bottom: 2rem;
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 1rem;
}

.stat-card {
    background-color: rgba(17, 24, 39, 0.6);
    border: 1px solid #4b5563;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    cursor: help;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(99, 179, 237, 0.2);
}

.stat-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a0c3ff;
}

.table-container {
    max-height: none;
    overflow-y: visible;
    background-color: #1f2937;
    border-radius: 0.5rem;
}

#resultsTable th {
    cursor: pointer;
    position: relative;
    background-color: #374151;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-width: 2px;
    border-color: #4b5563;
}

#resultsTable th .sort-arrow {
    margin-left: 5px;
    font-size: 0.8em;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

#resultsTable td {
    padding: 0.75rem 1rem;
    border-bottom-width: 1px;
    border-color: #374151;
    font-size: 0.875rem;
    color: #d1d5db;
}

#resultsTable tr:hover td {
    background-color: rgba(55, 65, 81, 0.5);
}

#resultsTable th:nth-child(1), #resultsTable td:nth-child(1) { width: 15%; }
#resultsTable th:nth-child(2), #resultsTable td:nth-child(2) { width: 20%; }
#resultsTable th:nth-child(3), #resultsTable td:nth-child(3) { width: 15%; }
#resultsTable th:nth-child(4), #resultsTable td:nth-child(4) { width: 20%; }
#resultsTable th:nth-child(5), #resultsTable td:nth-child(5) { width: 5%; text-align: right; }
#resultsTable th:nth-child(6), #resultsTable td:nth-child(6) { width: 5%; text-align: right; }
#resultsTable th:nth-child(7), #resultsTable td:nth-child(7) { width: 5%; text-align: right; }
#resultsTable th:nth-child(8), #resultsTable td:nth-child(8) { width: 5%; text-align: right; }
#resultsTable th:nth-child(9), #resultsTable td:nth-child(9) { width: 5%; text-align: right; }
#resultsTable th:nth-child(10), #resultsTable td:nth-child(10) { width: 5%; text-align: right; }
#resultsTable th:nth-child(11), #resultsTable td:nth-child(11) { width: 5%; text-align: right; }
#resultsTable th:nth-child(12), #resultsTable td:nth-child(12) { width: 5%; text-align: right; }
#resultsTable th:nth-child(13), #resultsTable td:nth-child(13) { width: 5%; text-align: right; }
#resultsTable th:nth-child(14), #resultsTable td:nth-child(14) { width: 5%; text-align: right; }

.pagination-controls {
    margin-top: 1rem;
    text-align: center;
}

.pagination-controls button,
.pagination-controls span {
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #4b5563;
    background-color: #374151;
    color: #d1d5db;
    cursor: pointer;
    border-radius: 0.25rem;
}

.pagination-controls button.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.sequence-cell {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sequence-cell:hover {
    white-space: normal;
    overflow: visible;
    position: absolute;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    z-index: 10;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#reportNotification {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    font-size: 0.95em;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    min-width: 300px;
    text-align: center;
}

#reportNotification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(20px);
}

#reportNotification.error {
    background-color: #ef4444;
    color: white;
}

#reportNotification.success {
    background-color: #22c55e;
    color: white;
}

.custom-report-pair,
.main-report-options-group {
    border: 1px solid #374151;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(17, 24, 39, 0.6);
}

.selected-point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #374151;
}

.selected-point-item:last-child {
    border-bottom: none;
}

.selected-point-text {
    flex-grow: 1;
    margin-right: 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.selected-point-actions button {
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.report-option-label {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #2d3748;
}

#mainReportOptions > .report-option-label:last-of-type {
    border-bottom: none;
}

.report-option-label > span {
    justify-self: start;
}

.report-option-label .input-group {
    grid-column: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.report-option-label .input-group span {
    font-size: 0.875rem;
    color: #a0aec0;
}

.report-option-label .input-group input[type="number"] {
    width: 70px;
    padding-left: 0.5rem;
    padding-right: 0.2rem;
    font-size: 0.875rem;
    border: 1px solid #4b5563;
    border-radius: 0.25rem;
    background-color: #374151;
    color: #e5e7eb;
}

.download-tsv-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    background-color: #10b981;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.download-tsv-btn:hover {
    background-color: #059669;
}

input[type="checkbox"]:disabled + span,
input[type="checkbox"]:disabled + label {
    color: #6b7280;
    cursor: not-allowed;
}

.report-option-label .input-group input[type="number"]:disabled {
    background-color: #1f2937;
    cursor: not-allowed;
}

.download-tsv-btn:disabled {
    background-color: #4b5563;
    cursor: not-allowed;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-content p {
    font-size: 1.125rem;
    color: #d1d5db;
}

.diamond-loader-container {
    width: 100px;
    height: 100px;
    margin: 1.5rem auto;
    position: relative;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-loader-container svg {
    width: 85%;
    height: 85%;
    animation: diamond-spin-pulse 4s infinite ease-in-out;
    transform-style: preserve-3d;
}

.rays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ray {
    background-color: #60A5FA;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    position: absolute;
    top: 37%;
    left: 50%;
    transform-origin: center;
    opacity: 0;
}

.ray:nth-child(1) { animation: ray-pulse-1 4s infinite ease-in-out; }
.ray:nth-child(2) { animation: ray-pulse-2 4s infinite ease-in-out; }
.ray:nth-child(3) { animation: ray-pulse-3 4s infinite ease-in-out; }
.ray:nth-child(4) { animation: ray-pulse-4 4s infinite ease-in-out; }
.ray:nth-child(5) { animation: ray-pulse-5 4s infinite ease-in-out; }
.ray:nth-child(6) { animation: ray-pulse-6 4s infinite ease-in-out; }
.ray:nth-child(7) { animation: ray-pulse-7 4s infinite ease-in-out; }
.ray:nth-child(8) { animation: ray-pulse-8 4s infinite ease-in-out; }

@keyframes diamond-spin-pulse {
    0%   { transform: scale(1) rotateY(0deg); }
    50%  { transform: scale(1) rotateY(360deg); }
    75%  { transform: scale(1.2) rotateY(360deg); }
    100% { transform: scale(1) rotateY(360deg); }
}

@keyframes ray-pulse-1 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) translateY(-46.75px); }
}

@keyframes ray-pulse-2 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) translateY(-46.75px); }
}

@keyframes ray-pulse-3 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(90deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) translateY(-46.75px); }
}

@keyframes ray-pulse-4 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(135deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(135deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(135deg) translateY(-46.75px); }
}

@keyframes ray-pulse-5 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(180deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) translateY(-46.75px); }
}

@keyframes ray-pulse-6 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(225deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(225deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(225deg) translateY(-46.75px); }
}

@keyframes ray-pulse-7 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(270deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(270deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(270deg) translateY(-46.75px); }
}

@keyframes ray-pulse-8 {
    0%, 50% { opacity: 0; transform: translate(-50%, -50%) rotate(315deg) translateY(-46.75px); }
    75% { opacity: 1; transform: translate(-50%, -50%) rotate(315deg) translateY(-59.5px); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(315deg) translateY(-46.75px); }
}

::-webkit-scrollbar {
  width: 10px;  
}

::-webkit-scrollbar-track {
  background: #1f2937;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #4b5563;
  border-radius: 5px;
  border: 2px solid #1f2937; 
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6b7280;  
}

* {
  scrollbar-width: thin;
  scrollbar-color: #4b5563 #1f2937; 
} 
#resultsTable td:nth-child(13) {
    white-space: nowrap;
}