:root {
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-2: #334155;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Top Warning Bar */
.top-warning-bar {
    background-color: rgba(234, 179, 8, 0.15);
    color: var(--warning);
    text-align: center;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.warning-mobile {
    display: none;
}

@media (max-width: 500px) {
    .warning-desktop {
        display: none;
    }

    .warning-mobile {
        display: grid;
        grid-template-areas: "layer";
        align-items: center;
        justify-content: center;
    }

    .warning-mobile span {
        grid-area: layer;
        opacity: 0;
        animation: cycleText 6s infinite;
    }

    .warning-mobile span:nth-child(1) {
        animation-delay: 0s;
    }

    .warning-mobile span:nth-child(2) {
        animation-delay: 3s;
    }
}

@keyframes cycleText {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(-5px);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* Mobile-first Layout */
.app-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 8px 0 4px 0;
    text-align: left;
    margin-bottom: 16px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: left;
    margin-top: 4px;
}

/* Cards & Surfaces */
.card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

input[type="text"],
input[type="number"],
input[type="datetime-local"] {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

.validation-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Radio Group */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--bg-body);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.radio-option {
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
}

.radio-option input:checked+label {
    background-color: var(--bg-surface-2);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #0f172a;
    /* Dark text on bright button */
}

.btn-primary:active {
    transform: scale(0.98);
    background-color: var(--primary-hover);
}

/* Results Area */
.result-box {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 20px;
    animation: slideUp 0.3s ease-out;
}

.result-header {
    padding: 16px;
    background-color: var(--bg-surface-2);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.result-content {
    padding: 16px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Alerts & Status */
.status-card {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    border-left: 4px solid transparent;
}

.status-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-left-color: var(--success);
    color: #86efac;
}

.status-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
    color: #fca5a5;
}

.status-warning {
    background-color: rgba(234, 179, 8, 0.1);
    border-left-color: var(--warning);
    color: #fcd34d;
}

/* Flatpickr Dark Theme Overrides */
.flatpickr-calendar {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-main) !important;
}

.flatpickr-calendar.arrowTop:after, 
.flatpickr-calendar.arrowTop:before {
    border-bottom-color: var(--bg-surface) !important;
}

.flatpickr-calendar.arrowBottom:after, 
.flatpickr-calendar.arrowBottom:before {
    border-top-color: var(--bg-surface) !important;
}

.flatpickr-day {
    color: var(--text-main) !important;
}

.flatpickr-day.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #0f172a !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--text-main) !important;
    fill: var(--text-main) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--bg-surface) !important;
    color: var(--text-main) !important;
}

.flatpickr-time {
    border-top: 1px solid var(--border) !important;
    background: var(--bg-surface) !important;
    border-radius: var(--radius-md) !important;
}

.flatpickr-time input {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: var(--bg-body) !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border) !important;

}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: var(--bg-surface-2) !important;
    color: var(--text-main) !important;
    border-color: var(--primary) !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.flatpickr-time .flatpickr-am-pm {
    color: var(--text-main) !important;
    background: var(--bg-body) !important;
    font-weight: 600 !important;
}

.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time .flatpickr-am-pm:focus {
    background: var(--bg-surface-2) !important;
    color: var(--primary) !important;
}

.numInputWrapper span {
    border: none !important;
}

.numInputWrapper span:hover {
    background: rgba(56, 189, 248, 0.2) !important;
}

.numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--primary) !important;
}

.numInputWrapper span.arrowDown:after {
    border-top-color: var(--primary) !important;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.d-none {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.w-100 {
    width: 100%;
}

.row {
    display: flex;
    gap: 16px;
}

.col-6 {
    flex: 1;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-surface-2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Runways & Wind Redesign */
.runways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.modal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    animation: scaleIn 0.3s 0.1s forwards;
    opacity: 0;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(234, 179, 8, 0.1);
    color: var(--warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.modal-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.modal-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 12px;
}

.modal-body strong {
    color: var(--text-main);
}

.disclaimer-legal {
    font-size: 0.8rem;
    opacity: 0.8;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* AviationWX Style Runway & Wind UI */
.wind-summary-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.wind-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.wind-summary-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wind-summary-value {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    background-color: var(--bg-surface-2);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.best-runway-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
}

.runways-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.avwx-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.avwx-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: var(--shadow-lg);
}

.avwx-card.is-best {
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.avwx-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.avwx-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.775rem;
    color: var(--text-muted);
}

.avwx-card-meta strong {
    color: var(--text-main);
    font-family: 'Roboto Mono', monospace;
}

.avwx-surface-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: var(--bg-surface-2);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.avwx-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.avwx-threshold {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.avwx-threshold.align-right {
    align-items: flex-end;
    text-align: right;
}

.avwx-ident-pill {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    background-color: var(--bg-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    width: fit-content;
    margin-bottom: 6px;
}

.avwx-threshold.align-right .avwx-ident-pill {
    margin-left: auto;
}

.avwx-comp-head {
    font-weight: 700;
    font-size: 0.875rem;
    font-family: 'Roboto Mono', monospace;
}

.avwx-comp-head.green {
    color: var(--success);
}

.avwx-comp-head.amber {
    color: var(--warning);
}

.avwx-comp-cross {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.avwx-comp-cross.amber {
    color: var(--warning);
    font-weight: 700;
}

.avwx-threshold.align-right .avwx-comp-cross {
    justify-content: flex-end;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.section-header i {
    color: var(--primary);
}

/* ETA Selector Styling */
.eta-day-selector {
    display: flex;
    gap: 8px;
    background-color: var(--bg-body);
    padding: 5px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.eta-day-selector .day-btn {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.eta-day-selector .day-btn:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.eta-day-selector .day-btn.active {
    background-color: var(--primary);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.time-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.time-input-wrapper .time-icon {
    position: absolute;
    left: 14px;
    color: var(--primary);
    pointer-events: none;
    font-size: 0.95rem;
}

.time-input-wrapper input[type="text"] {
    padding-left: 42px !important;
    padding-right: 60px !important;
}

#native-time-overlay {
    display: none;
}

.time-input-wrapper .utc-badge {
    position: absolute;
    right: 12px;
    background-color: var(--bg-surface-2);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.eta-preview-badge {
    font-size: 0.825rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.eta-preview-badge i {
    color: var(--primary);
}

.eta-preview-badge strong {
    color: var(--text-main);
}

/* Airport Search Autocomplete Styles */
.search-group {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    color: var(--primary);
    pointer-events: none;
    font-size: 0.95rem;
}

.search-input-wrapper input {
    padding-left: 42px !important;
    padding-right: 40px !important;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn:hover {
    color: var(--primary);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s ease;
}

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

.suggestion-item:hover,
.suggestion-item.selected-item {
    background-color: var(--bg-surface-2);
}

.suggestion-codes {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icao-badge {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    background-color: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.iata-badge {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-body);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.suggestion-info {
    text-align: right;
}

.suggestion-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.suggestion-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Header Version Badge & Info Button */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-badge {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.info-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Info Modal Styling */
.info-modal-card {
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.info-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: var(--text-main);
}

.info-section {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-section h4 {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.info-section p, .info-section li {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-main);
}

.info-section ul {
    margin-top: 4px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-section.blue {
    background-color: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
}
.info-section.blue h4 { color: var(--primary); }
.info-section.blue a { color: var(--primary); font-weight: 600; text-decoration: none; }
.info-section.blue a:hover { text-decoration: underline; }

.info-section.red {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.info-section.red h4 { color: var(--danger); }

.info-section.gray {
    background-color: var(--bg-surface-2);
    border: 1px solid var(--border);
}
.info-section.gray h4 { color: var(--text-muted); }

.info-section.purple {
    background-color: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.info-section.purple h4 { color: #a855f7; }

/* Update Toast */
.update-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background-color: var(--bg-surface);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.update-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.update-toast-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.update-toast-content p {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* What's New Modal Overrides */
.flex-col-card {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.whats-new-header {
    text-align: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.whats-new-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
}

.whats-new-icon i {
    font-size: 24px;
    color: var(--success);
}

.whats-new-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

#whats-new-version {
    font-size: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    color: var(--text-muted);
    margin-top: 4px;
}

.whats-new-body {
    overflow-y: auto;
    font-size: 0.875rem;
    color: var(--text-main);
    white-space: normal;
    overflow-x: hidden;
    padding-right: 4px;
}

.whats-new-body ul {
    margin-left: 20px;
    margin-top: 8px;
}

.whats-new-body li {
    margin-bottom: 6px;
    color: var(--text-muted);
}

.whats-new-body h2 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.whats-new-body h2:first-child {
    margin-top: 0;
}

.whats-new-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Custom Scrollbar for body */
.whats-new-body::-webkit-scrollbar {
    width: 6px;
}
.whats-new-body::-webkit-scrollbar-track {
    background: transparent;
}
.whats-new-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .app-container {
        padding: 8px 12px;
    }

    .row {
        flex-direction: column;
        gap: 12px;
    }
    
    .eta-day-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .day-btn {
        width: 100%;
        justify-content: center;
    }

    .header-main {
        justify-content: flex-start;
    }

    header {
        padding: 0;
        margin-bottom: 8px;
    }

    header h1 {
        font-size: 1.25rem;
    }

    .version-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .info-btn {
        font-size: 1rem;
        padding: 2px;
    }

    .card {
        padding: 1rem 0.75rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    #native-time-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: 10;
        cursor: pointer;
    }
}