/*
Geologic Timescale Visualizations Main Stylesheet
Original version generated by Claude AI
20260101
*/
/*
Version: AXIS Change
File: axis-change.html
20260113
*/

#app.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}
 .heading-block.container-fluid {
    padding: 40px 20px 0 20px;
}
.header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}
.controls-wrapper {
    width: 100%;
    height: 60px;
    padding-bottom: 20px;
}
.controls {
    height: 100%;
    position: relative;
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

select, input[type="number"], input[type="text"] {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

select {
    min-width: 150px;
}

input[type="text"] {
    flex: 1;
    min-width: 300px;
}

button {
    padding: 6px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

button:hover {
    background: #0056b3;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.timescale-selector {
    background: #f8f9fa;
    padding: 0 15px 15px 15px;
    border-radius: 6px;
    margin-top: 0;
}

.selector-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 15px;
}

.selector-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.selector-row select {
    flex: 1;
    min-width: 300px;
}

.uuid-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    font-size: 13px;
}

.uuid-toggle input[type="checkbox"] {
    cursor: pointer;
}

.uuid-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    background: #fee;
    border: 1px solid #fcc;
    padding: 15px;
    border-radius: 4px;
    color: #c33;
    margin-bottom: 15px;
}

.error-details {
    margin-top: 10px;
    font-size: 12px;
    font-family: monospace;
    background: #fff;
    padding: 10px;
    border-radius: 3px;
    max-height: 200px;
    overflow-y: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.color-stats {
    background: #e8f5e9;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 13px;
}

.color-stats-title {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 5px;
}

.color-stat-item {
    color: #1b5e20;
    margin: 3px 0;
}
.metadata {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}
.metadata-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}
.metadata-item {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}
.interval-block {
    cursor: pointer;
    transition: all 0.2s;
}

.interval-block:hover {
    opacity: 0.8;
    stroke-width: 2px !important;
}

.interval-label {
    font-size: 11px;
    fill: #333;
    pointer-events: none;
    font-weight: 500;
}

.rank-label {
    font-weight: 600;
    font-size: 16px;
    fill: rgb(33, 37, 41);
}

.axis-label {
    font-size: 12px;
    fill: rgb(33, 37, 41);
}

.axis-title {
    font-size: 14px;
    font-weight: 600;
    fill: rgb(33, 37, 41);
}


.legend {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.legend-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.color-scale-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.scale-gradient {
    height: 30px;
    width: 300px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    width: 300px;
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
}

.rank-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.rank-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.rank-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
}

.api-info {
    background: #e8f5e9;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 12px;
    color: #2e7d32;
}

.api-info strong {
    color: #1b5e20;
}

.color-scheme-group {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 4px;
}

.color-mode-toggle {
    background: #fff3cd;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

.color-mode-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
    font-size: 14px;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    cursor: pointer;
}

.radio-option label {
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    font-size: 13px;
}

.axis-controls {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #2196f3;
    margin-top: 15px;
}

.axis-controls-title {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 14px;
}

.axis-controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.timescale-count {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}


/* Results Table -------------------------------------------------  */
h4.timescale-title {
}
table.timescale-table thead tr th {
    background-color: #0a1659;
    font-weight: 500;
    font-size: 13px;
    padding: 4px 8px;
    color: #e6e6e6;
}
table.timescale-table tbody tr td {
    font-size: 13px;
    padding: 4px 8px;
}
.row .table-col {
    padding: 8px;
    background: #FFFFFF;
}


/* Responsives --------------------------- */
@media screen and (max-width: 767px) {
    .heading-block.container-fluid {
        padding: 20px 0 0 0;
    }
}