@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Global Styles */
body {
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    color: #111827;
    margin: 20px 0 10px 0;
    letter-spacing: -0.025em;
}

/* Main Layout Container */
.dashboard-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    gap: 20px;
}

/* Panel Cards */
.panel-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 24px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
}

.left-panel {
    flex: 1.4 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Controls Grid */
.controls-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    background-color: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.control-col {
    flex: 1;
    min-width: 140px;
}

.control-col.large-col {
    flex: 1.5;
    min-width: 200px;
}

.control-col > label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 6px;
}

/* Dropdown styling updates */
.Select-control {
    border-color: #d1d5db !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
}

.Select-control:hover {
    border-color: #9ca3af !important;
}

.is-focused:not(.is-open) > .Select-control {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
}

/* Radio Items styling */
.dash-radio-label {
    font-size: 0.875rem;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-right: 12px !important;
}

.dash-radio-label input {
    margin-right: 5px;
}

/* Click Info Styling */
#click-info {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #374151;
}

#click-info h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
}

#click-info p {
    margin: 4px 0;
    border-bottom: 1px dashed #f3f4f6;
    padding-bottom: 4px;
}

#click-info pre {
    background-color: #f3f4f6;
    padding: 8px;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 6px;
    border: 1px solid #e5e7eb;
}

/* Headings inside Panels */
.panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-top: 0;
    margin-bottom: 8px;
}

.panel-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Previous & Next Buttons */
.obs-btn {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.obs-btn:hover:not(:disabled) {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.obs-btn:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Rotate slider marks to prevent overlapping */
.rc-slider-mark-text {
    transform: rotate(90deg);
    transform-origin: left center;
    white-space: nowrap;
    margin-top: 12px;
    font-size: 8px;
    color: #4b5563;
}
