/* F1 2026 Regulations Lab - Custom Styling
 * Green accent theme for futuristic 2026 features
 */

/* ========================================
   Unified /f1 Showcase Theme
   ======================================== */
.f1-showcase {
    --f1-premium-red: #e10600;
    --f1-premium-red-deep: #b50400;
    --f1-premium-green: #22c55e;
    --f1-premium-green-deep: #17974a;
    --f1-premium-carbon: #0b1120;
    --f1-premium-panel: #111827;
    --f1-premium-panel-2: #182033;
    --f1-premium-border: #2a344a;
}

.f1-showcase #f1-top {
    border: 1px solid rgba(225, 6, 0, 0.35);
    border-radius: 14px;
    padding: 1.4rem 1.4rem 1.1rem;
    background:
        radial-gradient(120% 140% at 5% 0%, rgba(225, 6, 0, 0.22) 0%, rgba(225, 6, 0, 0) 45%),
        radial-gradient(120% 140% at 90% 100%, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0) 40%),
        linear-gradient(135deg, #0c1223 0%, #131c33 60%, #0e1728 100%);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.46);
}

.f1-showcase-title {
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #f4f7ff 45%, #9ae8ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.f1-showcase .section-title {
    color: #f8fafc;
}

.f1-showcase .card {
    background: linear-gradient(160deg, var(--f1-premium-panel) 0%, #101827 65%, #0e1626 100%);
    border: 1px solid var(--f1-premium-border);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.3);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.f1-showcase .card:hover {
    border-color: rgba(225, 6, 0, 0.42);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45);
    transform: translateY(-1px);
}

.f1-showcase .card-header {
    background: linear-gradient(100deg, rgba(225, 6, 0, 0.25) 0%, rgba(225, 6, 0, 0.14) 30%, rgba(41, 53, 78, 0.8) 100%) !important;
    border-bottom: 1px solid rgba(225, 6, 0, 0.35) !important;
}

.f1-showcase .btn.btn-primary,
.f1-showcase .action-btn {
    background: linear-gradient(130deg, var(--f1-premium-red) 0%, #d90902 58%, #a80400 100%);
    border: 1px solid rgba(255, 104, 97, 0.55);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 18px rgba(225, 6, 0, 0.24);
}

.f1-showcase .btn.btn-primary:hover:not(:disabled),
.f1-showcase .action-btn:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(225, 6, 0, 0.3);
}

.f1-showcase .btn.btn-success {
    background: linear-gradient(130deg, #1cc36d 0%, #16954f 100%);
    border: 1px solid rgba(102, 255, 170, 0.3);
}

.f1-showcase .form-select {
    background-color: #0e1525;
    border: 1px solid #2c3750;
    color: #f2f5ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    background-image: linear-gradient(45deg, transparent 50%, #7dddb1 50%), linear-gradient(135deg, #7dddb1 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.f1-showcase .form-select:focus {
    border-color: rgba(46, 218, 127, 0.72);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.f1-showcase .badge.bg-primary {
    background: linear-gradient(130deg, rgba(225, 6, 0, 0.84) 0%, rgba(176, 4, 0, 0.95) 100%) !important;
    border: 1px solid rgba(255, 118, 111, 0.45);
}

.f1-showcase .text-muted,
.f1-showcase small.text-muted,
.f1-showcase p.text-muted,
.f1-showcase .small.text-muted {
    color: #c7d6ef !important;
}

.f1-showcase .small {
    color: #d2def3;
}

.f1-showcase .race-data-intro {
    white-space: nowrap;
}

.f1-showcase .circuit-era-note {
    color: #d7e4fb !important;
    font-size: 1rem;
    line-height: 1.45;
}

/* ========================================
   2026 Lab Section - Main Container
   ======================================== */
.regulations-lab {
    border: 2px solid #22c55e;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f172a 100%);
    border-radius: 12px;
    padding: 1.35rem 1.35rem 1.5rem;
}

.regulations-lab .card-header {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.15) 0%, transparent 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

#circuit-database-section .card-header {
    background: linear-gradient(100deg, rgba(225, 6, 0, 0.25) 0%, rgba(225, 6, 0, 0.14) 30%, rgba(41, 53, 78, 0.8) 100%) !important;
    border-bottom: 1px solid rgba(225, 6, 0, 0.35) !important;
}

#circuit-database-title {
    color: #f8fafc;
    font-weight: 600;
}

#regulations-2026 .lab-tab-panel {
    padding-top: 0.35rem;
}

/* Section title with 2026 green accent */
.section-title-2026 {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title-2026::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-radius: 2px;
}

/* ========================================
   Era Toggle Switch
   ======================================== */
.era-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.era-toggle-label {
    font-weight: 500;
    color: #e5e7eb;
}

.era-toggle-switch {
    position: relative;
    width: 200px;
    height: 40px;
    background: #1e293b;
    border-radius: 20px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid #334155;
}

.era-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.era-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: 32px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.era-toggle-switch input:checked + .era-toggle-slider {
    transform: translateX(100%);
}

.era-options {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.era-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s ease;
    pointer-events: none;
}

.era-option.active {
    color: #ffffff;
}

/* ========================================
   Car Simulator Card
   ======================================== */
.simulator-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
}

.simulator-card:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

.simulator-card small.text-muted {
    color: #b7c7dd !important;
}

/* Slider container styling */
.slider-group {
    margin-bottom: 1.5rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slider-label-text {
    font-weight: 600;
    color: #f8fafc;
}

.slider-value {
    font-weight: 700;
    color: #22c55e;
    font-size: 1rem;
    min-width: 58px;
    text-align: right;
    text-shadow: 0 0 14px rgba(34, 197, 94, 0.28);
}

/* Custom range slider - green theme */
.slider-2026 {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 11px;
    background: linear-gradient(90deg, #22c55e 0%, #22c55e 50%, rgba(30, 41, 59, 0.94) 50%, rgba(30, 41, 59, 0.94) 100%);
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(2, 6, 23, 0.7), 0 0 0 1px rgba(30, 41, 59, 0.36);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.slider-2026:hover,
.slider-2026:focus-visible {
    border-color: rgba(34, 197, 94, 0.62);
    box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.72), 0 0 0 2px rgba(34, 197, 94, 0.24);
}

.slider-2026::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(240, 253, 244, 0.92);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.65), 0 0 16px rgba(34, 197, 94, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-2026::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.72), 0 0 20px rgba(34, 197, 94, 0.76);
}

.slider-2026::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(240, 253, 244, 0.92);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.65), 0 0 16px rgba(34, 197, 94, 0.6);
}

/* Energy deployment slider - special styling */
.energy-slider {
    border-color: rgba(74, 222, 128, 0.36);
}

/* ========================================
   Results Display
   ======================================== */
.results-panel {
    background: linear-gradient(160deg, #0e1728 0%, #101a2e 55%, #0e1627 100%);
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 16px 32px rgba(3, 8, 19, 0.42);
}

.timing-tower {
    background: linear-gradient(145deg, rgba(11, 17, 32, 0.95) 0%, rgba(16, 24, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 5px solid #22c55e;
    border-radius: 12px;
    padding: 1rem 1rem 1.1rem;
}

.timing-tower-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
}

.timing-session-label {
    color: #f8fafc;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timing-track-label {
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 600;
}

.timing-main-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.timing-meta-stack {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timing-chip {
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(34, 197, 94, 0.52);
    border-radius: 999px;
    color: #dcfce7;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.6rem;
    text-transform: none;
}

.timing-chip-energy {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.22) 0%, rgba(15, 23, 42, 0.88) 100%);
    border-color: rgba(74, 222, 128, 0.58);
    color: #dcfce7;
}

.lap-time-display {
    font-size: 3.15rem;
    font-weight: 700;
    color: #22c55e;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    letter-spacing: 0.04em;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
}

.delta-display {
    font-size: 1.18rem;
    font-weight: 600;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    text-align: right;
}

.delta-positive {
    color: #ef4444;
}

.delta-negative {
    color: #22c55e;
}

/* Sector times breakdown */
.sector-grid-title {
    color: #dbeafe;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.sector-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0;
}

.sector-item {
    background: linear-gradient(145deg, #1a2338 0%, #1a263d 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sector-item.sector-best {
    border-color: rgba(34, 197, 94, 0.85);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3), 0 8px 14px rgba(34, 197, 94, 0.14);
}

.sector-item.sector-worst {
    border-color: rgba(225, 6, 0, 0.72);
    box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.23), 0 8px 14px rgba(225, 6, 0, 0.12);
}

.sector-label-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.28rem;
}

.sector-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.sector-focus {
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: right;
}

.sector-time {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    margin-bottom: 0.55rem;
}

.sector-meta {
    border-top: 1px dashed rgba(148, 163, 184, 0.28);
    display: grid;
    gap: 0.2rem;
    padding-top: 0.45rem;
}

.sector-meta-row {
    align-items: center;
    display: flex;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    font-size: 0.75rem;
    justify-content: space-between;
    line-height: 1.35;
}

.sector-meta-label {
    color: #93a4bd;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.sector-delta-positive {
    color: #f87171;
}

.sector-delta-negative {
    color: #4ade80;
}

/* Car type badge */
.car-type-badge {
    display: inline-block;
    padding: 0.36rem 0.72rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.22) 0%, rgba(22, 163, 74, 0.22) 100%);
    border: 1px solid rgba(34, 197, 94, 0.8);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #9de8bf;
    margin-top: 0;
    text-transform: none;
}

/* ========================================
   Energy State Visualization
   ======================================== */
.energy-bar-container {
    background: #1e293b;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.energy-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.energy-bar {
    height: 24px;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.energy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.energy-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Summary Cards (Regulation Changes)
   ======================================== */
.summary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.summary-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: #22c55e;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.summary-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.summary-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.summary-card-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.summary-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-card-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #1f2937;
    font-size: 0.9rem;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-card-details li:last-child {
    border-bottom: none;
}

.summary-card-details li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Team Grid Cards
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.team-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem;
    transition: all 0.2s ease;
}

.team-card:hover {
    border-color: #22c55e;
}

.team-card.active {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    transform: translateY(-1px);
}

.team-card.new-team {
    border-color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, #111827 100%);
}

.team-card-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.team-card-supplier {
    font-size: 0.8rem;
    color: #94a3b8;
}

.team-card-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #22c55e;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.team-card-badge-neutral {
    background: #334155;
    color: #e2e8f0;
}

.team-card-badge-tbd {
    background: #f59e0b;
    color: #111827;
}

.team-detail-panel {
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: linear-gradient(150deg, rgba(16, 25, 45, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    margin-bottom: 0.5rem;
}

.team-detail-panel .card-body {
    padding: 1rem 1.05rem;
}

.team-detail-panel ul {
    margin: 0;
    padding-left: 1.1rem;
}

.team-detail-panel li {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
}

.pu-supplier-name {
    color: #22c55e;
    font-weight: 600;
}

.pu-supplier-teams {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ========================================
   Comparison Metrics Table
   ======================================== */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: #1e293b;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    text-align: left;
}

.comparison-table th:first-child {
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #1f2937;
    color: #e5e7eb;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.comparison-table tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

.comparison-old {
    color: #94a3b8;
}

.comparison-new {
    color: #22c55e;
    font-weight: 600;
}

.comparison-change {
    font-size: 0.85rem;
}

.comparison-change.positive {
    color: #22c55e;
}

.comparison-change.negative {
    color: #ef4444;
}

/* ========================================
   Overtake Probability Calculator
   ======================================== */
.probability-display {
    text-align: center;
    padding: 2rem;
}

.probability-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        #22c55e var(--probability, 0%),
        #1e293b var(--probability, 0%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.probability-circle::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: #0f172a;
    border-radius: 50%;
}

.probability-value {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.probability-recommendation {
    font-size: 0.95rem;
    color: #e5e7eb;
    padding: 1rem;
    background: #1e293b;
    border-radius: 8px;
    margin-top: 1rem;
}

/* ========================================
   Circuit Selector
   ======================================== */
.circuit-select {
    background: linear-gradient(150deg, #1a243a 0%, #121b2f 100%);
    border: 1px solid #32425f;
    color: #f5f8ff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.circuit-select:hover {
    border-color: rgba(34, 197, 94, 0.58);
    transform: translateY(-1px);
}

.circuit-select:focus {
    border-color: #22c55e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ========================================
   Loading States
   ======================================== */
.loading-spinner-2026 {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #1e293b;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin-2026 0.8s linear infinite;
}

@keyframes spin-2026 {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn-2026 {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-2026:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-2026:disabled {
    background: #1e293b;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-2026-outline {
    background: transparent;
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-2026-outline:hover {
    background: rgba(34, 197, 94, 0.1);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .lap-time-display {
        font-size: 2rem;
    }

    .timing-main-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.7rem;
    }

    .timing-meta-stack {
        align-items: flex-start;
    }

    .timing-track-label {
        font-size: 0.7rem;
    }

    .sector-breakdown {
        grid-template-columns: 1fr;
    }

    .summary-cards-grid {
        grid-template-columns: 1fr;
    }

    .era-toggle-switch {
        width: 160px;
    }

    .era-option {
        font-size: 0.75rem;
    }

    .regulations-lab {
        padding: 1rem 0.9rem 1.15rem;
    }
}

/* ========================================
   2026 Lab Header Badge
   ======================================== */
.lab-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, transparent 100%);
    border: 1px solid #22c55e;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #22c55e;
}

.lab-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-2026 2s infinite;
}

@keyframes pulse-2026 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========================================
   Projected Data Warning
   ======================================== */
.projected-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid #eab308;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.projected-warning-icon {
    color: #eab308;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.projected-warning-text {
    font-size: 0.88rem;
    color: #fef3c7;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

/* ========================================
   Tab Navigation for Lab Sections
   ======================================== */
.lab-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid #1f2937;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.lab-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #b6c5df;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.lab-tab:hover {
    color: #f8fafc;
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.14);
}

.lab-tab.active {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.62);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.28), 0 8px 18px rgba(34, 197, 94, 0.14);
}

.lab-projected-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(34, 197, 94, 0.62);
    border-radius: 999px;
    color: #22c55e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.65rem;
    text-transform: uppercase;
}

.api-load-error {
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
    border-radius: 8px;
    color: #fecaca;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}
