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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f0f4f8;
    color: #333;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #1a73e8;
}

header p {
    color: #666;
    margin-top: 0.5rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.trip-type {
    margin-bottom: 1.5rem;
}

.trip-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.trip-options input[type="radio"] {
    display: none;
}

.trip-options label {
    padding: 0.5rem 1rem;
    border: 2px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.trip-options input[type="radio"]:checked + label {
    border-color: #1a73e8;
    background: #e8f0fe;
    color: #1a73e8;
}

.dates {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dates input[type="date"] {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.destination {
    position: relative;
    margin-bottom: 1rem;
}

.destination input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.destination input[type="text"]:focus {
    outline: none;
    border-color: #1a73e8;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
}

button[type="submit"]:hover {
    background: #1557b0;
}
.results-grid {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.result-card {
    flex: 1;
    min-width: 280px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.result-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.verdict {
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a73e8;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.yearly {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.year-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.85rem;
}

.year-label {
    font-weight: bold;
    width: 40px;
}

.year-verdict {
    font-weight: bold;
    width: 70px;
}

.year-stats {
    color: #666;
}

a {
    color: #1a73e8;
    text-decoration: none;
}
.search-summary {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
}
.reliability {
    margin-bottom: 1.5rem;
}

.reliability-label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.4rem;
}

.reliability-bar-container {
    background: #eee;
    border-radius: 20px;
    height: 12px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.reliability-bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #c62828, #f57c00, #558b2f);
    transition: width 0.5s ease;
}

.reliability-pct {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.heat-warning {
    background: #fff3e0;
    border: 1px solid #f57c00;
    color: #e65100;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}