* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e;
    color: #d4d4d4;
    line-height: 1.4;
    font-size: 14px;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar with Logo and Tabs */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.logo-section h1 {
    color: #d4d4d4;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
}

/* Tab Controls within each tab */
.tab-controls {
    padding: 12px 16px;
    background: #2d2d30;
    border-bottom: 1px solid #3c3c3c;
}

.tab-controls .selector-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* App content wrapper */
#app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Branch/Commit Selector Controls */
.selector-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-selector label {
    color: #858585;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.form-selector select {
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 3px;
    background: #2d2d30;
    color: #d4d4d4;
    font-size: 13px;
    cursor: pointer;
    min-width: 180px;
    max-width: 250px;
    transition: all 0.15s;
}

.form-selector select:hover {
    border-color: #505050;
    background: #37373d;
}

.form-selector select:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 1px rgba(0, 122, 204, 0.3);
}

.form-selector select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-selector select option {
    background: #2d2d30;
    color: #d4d4d4;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #858585;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    border-bottom: 2px solid transparent;
}

.tab-button:hover {
    background: #37373d;
    color: #cccccc;
}

.tab-button.active {
    color: #d4d4d4;
    border-bottom-color: #007acc;
    background: #1e1e1e;
}

.tab-button.active:hover {
    background: #252526;
}

/* Tab Content */
.tab-content {
    background: #1e1e1e;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-pane {
    display: none;
    flex-direction: column;
    padding: 0;
    flex: 1;
    overflow: hidden;
}

.tab-pane.active {
    display: flex;
}

/* Chart Container */
.chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

/* Chart embedded in explore tab - fixed height for predictable layout */
#explore-tab .chart-container {
    flex: none;
    height: 240px;
    border-bottom: 1px solid #3c3c3c;
    overflow: hidden;
}

.chart-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.chart-header h3 {
    margin: 0;
    color: #d4d4d4;
    font-size: 16px;
    font-weight: 500;
}

#coverage-chart {
    flex: 1;
    min-height: 0;
    max-height: 100%;
}

/* Uploads Container */
.uploads-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.uploads-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uploads-controls {
    display: flex;
    gap: 16px;
}

.uploads-header h3 {
    margin: 0 0 8px 0;
    color: #d4d4d4;
    font-size: 16px;
    font-weight: 500;
}

.uploads-table-container {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
}

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

.uploads-table thead {
    background: #2d2d30;
    position: sticky;
    top: 0;
}

.uploads-table th {
    padding: 10px 12px;
    text-align: left;
    color: #d4d4d4;
    font-weight: 500;
    border-bottom: 1px solid #3c3c3c;
}

.uploads-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #3c3c3c;
    color: #cccccc;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
}

.uploads-table tbody tr:hover {
    background: #2a2d2e;
}

.uploads-table .no-data {
    text-align: center;
    color: #858585;
    font-style: italic;
    padding: 40px;
}

/* Split View */
.split-view {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 400px;
    min-width: 280px;
    border-right: 1px solid #3c3c3c;
    background: #252526;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.sidebar h3 {
    padding: 10px 16px;
    background: #2d2d30;
    color: #ffffff;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Tree View */
.tree-view {
    padding: 8px;
    overflow: auto;
    flex: 1;
}

.tree-item {
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 3px;
    margin: 1px 0;
    transition: background-color 0.15s;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.tree-item:hover {
    background-color: #2a2d2e;
}

.tree-item.active {
    background-color: #094771;
    color: white;
}

.tree-item .icon {
    margin-right: 6px;
    font-size: 12px;
}

.tree-children {
    margin-left: 0;
}

/* Tree Component Styles */
.tree-node {
    margin: 0;
}

.tree-item {
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 3px;
    margin: 1px 0;
    transition: background-color 0.15s;
    display: flex;
    align-items: center;
    user-select: none;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

/* Coverage progress bar background */
.tree-item[data-coverage-percentage]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--coverage-width, 0%);
    z-index: 0;
    transition: width 0.3s ease;
    opacity: 0.3;
}

.tree-item[data-coverage-percentage] .tree-item-content {
    position: relative;
    z-index: 1;
}

/* Red: < 60% */
.tree-item.coverage-red::before {
    background: #f44747;
}

/* Yellow: 60-80% */
.tree-item.coverage-yellow::before {
    background: #ffc107;
}

/* Green: 80%+ */
.tree-item.coverage-green::before {
    background: #4caf50;
}

.tree-item:hover {
    background-color: #2a2d2e;
}

.tree-item.selected {
    background-color: #094771;
    color: white;
}

.tree-item.active {
    background-color: #094771;
    color: white;
}

.tree-item.folder {
    font-weight: 500;
}

.tree-item.leaf {
    font-weight: normal;
}

.tree-item.expanded {
    background-color: #2d2d30;
}

.tree-item-content {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.expand-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    font-size: 9px;
    color: #858585;
    cursor: pointer;
    transition: transform 0.15s;
}

.expand-icon.placeholder {
    visibility: hidden;
}

.expand-icon:hover {
    color: #cccccc;
}

.item-icon {
    margin-right: 6px;
    font-size: 12px;
    width: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG file icons */
.file-icon-svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.php-icon {
    filter: none;
}

.item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Coverage View */
.coverage-view {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

#test-details {
    padding: 12px 16px;
    border-bottom: 1px solid #3c3c3c;
    background: #252526;
}

#selected-test-name {
    margin: 0;
    color: #d4d4d4;
    font-size: 14px;
    font-weight: 500;
}

/* Source Code View */
.source-code {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.code-header {
    padding: 10px 16px;
    border-bottom: 1px solid #3c3c3c;
    background: #252526;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-header h3 {
    margin: 0;
    color: #d4d4d4;
    font-size: 14px;
    font-weight: 500;
}

.coverage-stats {
    font-size: 12px;
    color: #858585;
}

.code-content {
    flex: 1;
    overflow-y: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.3;
}

.code-line {
    display: flex;
    padding: 1px 16px;
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s;
    position: relative;
}

.code-line:hover {
    background-color: #2a2d2e;
}

.code-line.covered {
    border-left-color: #4ec9b0;
    background-color: #1e3a3a;
}

.code-line.uncovered {
    border-left-color: #f44747;
    background-color: #3a1e1e;
}

.code-line.uncoverable {
    border-left-color: #858585;
    background-color: #2d2d30;
}

.line-number {
    width: 50px;
    color: #858585;
    user-select: none;
    padding-right: 8px;
    text-align: right;
    font-size: 12px;
}

.test-count-badge {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #007acc;
    font-size: 11px;
    font-weight: 500;
    user-select: none;
}

.line-content {
    flex: 1;
    white-space: pre-wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #252526;
    margin: 5% auto;
    padding: 16px;
    border-radius: 4px;
    width: 90%;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    border: 1px solid #3c3c3c;
}

.close {
    color: #858585;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #cccccc;
}

#modal-title {
    margin-bottom: 12px;
    color: #d4d4d4;
    font-size: 14px;
    font-weight: 500;
}

.test-list-modal {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.test-list {
    list-style: none;
}

.test-list li {
    padding: 6px 10px;
    margin: 3px 0;
    background: #2d2d30;
    border-radius: 3px;
    border-left: 3px solid #007acc;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid #3c3c3c;
}

.copy-tests-button {
    background: #007acc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-tests-button:hover {
    background: #005a9e;
}

.copy-tests-button.copied {
    background: #2e7d32;
}

/* Removed old coverage-badge styles - now using coverage-text */

/* File tree items with coverage indicators */
.file-coverage {
    margin-left: auto;
    font-size: 11px;
    color: #858585;
}

.file-coverage.covered {
    color: #4ec9b0;
}

.file-coverage.uncovered {
    color: #f44747;
}

/* Responsive design */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
        border-bottom: none;
        border-right: 2px solid transparent;
    }

    .tab-button.active {
        border-bottom: none;
        border-right-color: #007acc;
    }

    .split-view {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid #3c3c3c;
        max-height: 250px;
        min-height: 150px;
    }

    .container {
        padding: 8px;
    }

    .logo-section h1 {
        font-size: 1.5rem;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tab-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .tab-controls .selector-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .tab-controls .form-selector {
        width: 100%;
    }

    .tab-controls .form-selector select {
        flex: 1;
        min-width: 0;
        max-width: none;
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px 16px;
    background: #252526;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #3c3c3c;
    border-top: 3px solid #007acc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    color: #858585;
    font-size: 14px;
    margin: 0;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 40px 16px;
    background: #252526;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.error-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.error-state h3 {
    color: #f44747;
    margin-bottom: 12px;
    font-size: 18px;
}

.error-state p {
    color: #858585;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.retry-button {
    background: #007acc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.retry-button:hover {
    background: #005a9e;
}

/* File Loading State */
.file-loading-state {
    text-align: center;
    padding: 30px 16px;
    color: #858585;
}

.file-loading-state .loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #3c3c3c;
    border-top: 2px solid #007acc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

.file-loading-state p {
    margin: 0;
    font-size: 13px;
}

/* File Error State */
.file-error-state {
    text-align: center;
    padding: 30px 16px;
    color: #858585;
}

.file-error-state .error-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.file-error-state h3 {
    color: #f44747;
    margin-bottom: 8px;
    font-size: 16px;
}

.file-error-state p {
    margin-bottom: 16px;
    font-size: 13px;
}

.file-error-state .retry-button {
    background: #007acc;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-error-state .retry-button:hover {
    background: #005a9e;
}

/* Test Coverage Stats */
.test-coverage-stats {
    display: flex;
    gap: 6px;
    margin-left: auto;
    align-items: center;
}

.coverage-text {
    color: #858585;
}

/* Clickable rows */
.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #2a2d2e;
}

/* Breadcrumb Address Bar */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #2d2d30;
    border-bottom: 1px solid #3c3c3c;
    gap: 8px;
}

.breadcrumb-icon {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 3px;
    font-size: 13px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    min-width: 0;
}

.breadcrumb-input:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 1px rgba(0, 122, 204, 0.3);
}

.breadcrumb-input::placeholder {
    color: #6c6c6c;
    font-style: italic;
}

.breadcrumb-btn {
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 3px;
    background: #37373d;
    color: #d4d4d4;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
}

.breadcrumb-btn:hover {
    background: #4d4d52;
    border-color: #505050;
}

.breadcrumb-btn:active {
    background: #2d2d30;
}

.breadcrumb-btn.copied {
    background: #2e7d32;
    border-color: #4caf50;
}

.breadcrumb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Explore Tab Styles */

/* Page scroll when Discover tab is active.
   app.js adds 'tab-explore-active' to .container when this tab is shown,
   so only this tab gets page scroll; Files/Uploads keep their viewport-lock. */
.tab-explore-active {
    height: auto;
    min-height: 100vh;
}

.tab-explore-active #app-content,
.tab-explore-active .tab-content,
.tab-explore-active .tab-pane {
    flex: none;
    overflow: visible;
}

.tab-explore-active .explore-container {
    flex: none;
    overflow: visible;
}

.tab-explore-active .explore-table-container {
    flex: none;
    overflow: visible; /* page scrolls instead of element-level scroll */
}

.explore-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
}

.explore-table-container {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
}

.explore-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.explore-table thead {
    background: #2d2d30;
    position: sticky;
    top: 0;
    z-index: 10;
}

.explore-table th {
    padding: 10px 12px;
    text-align: left;
    color: #d4d4d4;
    font-weight: 500;
    border-bottom: 1px solid #3c3c3c;
}

.explore-table th:nth-child(1) {
    width: auto;
}

.explore-table th:nth-child(2),
.explore-table th:nth-child(3) {
    width: 10ch;
    text-align: right;
}

.explore-table th:nth-child(4) {
    width: 12ch;
    text-align: right;
}

.explore-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #3c3c3c;
    color: #cccccc;
}

.explore-table td:nth-child(2),
.explore-table td:nth-child(3),
.explore-table td:nth-child(4) {
    text-align: right;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
}

.explore-table tbody tr:hover {
    background: #2a2d2e;
}

.explore-table .no-data {
    text-align: center;
    color: #858585;
    font-style: italic;
    padding: 40px;
}

/* Explore Table Row Styles */
.explore-row {
    cursor: default;
}

/* Coverage progress bar via background gradient on first column only */
.explore-row.coverage-red[data-coverage-percentage] td:first-child {
    background: linear-gradient(to right, rgba(244, 71, 71, 0.2) var(--coverage-width, 0%), transparent var(--coverage-width, 0%));
    transition: background 0.3s ease;
}

.explore-row.coverage-yellow[data-coverage-percentage] td:first-child {
    background: linear-gradient(to right, rgba(255, 193, 7, 0.2) var(--coverage-width, 0%), transparent var(--coverage-width, 0%));
    transition: background 0.3s ease;
}

.explore-row.coverage-green[data-coverage-percentage] td:first-child {
    background: linear-gradient(to right, rgba(76, 175, 80, 0.2) var(--coverage-width, 0%), transparent var(--coverage-width, 0%));
    transition: background 0.3s ease;
}

.explore-row.clickable {
    cursor: pointer;
}

.explore-row.clickable:hover {
    background: #2a2d2e;
}

.explore-row-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.explore-row-expand-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #858585;
    cursor: pointer;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.explore-row-expand-icon:hover {
    color: #cccccc;
}

.explore-row-expand-icon.placeholder {
    visibility: hidden;
}

.explore-row-icon {
    font-size: 12px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-row-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.explore-row-name.directory {
    font-weight: 500;
}

/* Explore Quick Search Bar */
.explore-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 10px 0;
}

.explore-search-icon {
    font-size: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

.explore-search-input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 3px;
    font-size: 13px;
    background: #1e1e1e;
    color: #d4d4d4;
    min-width: 0;
}

.explore-search-input:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 1px rgba(0, 122, 204, 0.3);
}

.explore-search-input::placeholder {
    color: #6c6c6c;
    font-style: italic;
}

.explore-search-clear {
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 3px;
    background: #37373d;
    color: #d4d4d4;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
}

.explore-search-clear:hover {
    background: #4d4d52;
    border-color: #505050;
}

/* Project row styles in explore table */
.explore-row.project-row {
    background: #2d2d30;
    border-top: 1px solid #3c3c3c;
}

.explore-row.project-row:first-child {
    border-top: none;
}

.explore-row.project-row:hover {
    background: #37373d;
}

.explore-row.project-row .explore-row-name {
    font-weight: 600;
    color: #ffffff;
}

.explore-row.project-row .explore-row-icon {
    font-size: 14px;
}

/* Coverage Percentage Colors */
.explore-coverage-red {
    color: #f44747;
    font-weight: 500;
}

.explore-coverage-yellow {
    color: #ffc107;
    font-weight: 500;
}

.explore-coverage-green {
    color: #4caf50;
    font-weight: 500;
}

/* Indentation levels for nested rows - applied to first td */
.explore-table td.explore-row-level-0 { padding-left: 12px; }
.explore-table td.explore-row-level-1 { padding-left: 28px; }
.explore-table td.explore-row-level-2 { padding-left: 44px; }
.explore-table td.explore-row-level-3 { padding-left: 60px; }
.explore-table td.explore-row-level-4 { padding-left: 76px; }
.explore-table td.explore-row-level-5 { padding-left: 92px; }
.explore-table td.explore-row-level-6 { padding-left: 108px; }
.explore-table td.explore-row-level-7 { padding-left: 124px; }
.explore-table td.explore-row-level-8 { padding-left: 140px; }

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.auth-modal-content {
    background: #252526;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    padding: 32px;
    width: 340px;
    text-align: center;
}

.auth-modal-content h2 {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 18px;
}

.auth-modal-content p {
    color: #888;
    margin-bottom: 20px;
    font-size: 13px;
}

.auth-input {
    width: 100%;
    padding: 10px 12px;
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    color: #d4d4d4;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
}

.auth-input:focus {
    border-color: #0078d4;
}

.auth-error {
    color: #f44747;
    font-size: 13px;
    margin-bottom: 12px;
}

.auth-submit {
    width: 100%;
    padding: 10px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.auth-submit:hover {
    background: #106ebe;
}

.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.explore-table td.explore-row-level-9 { padding-left: 156px; }