body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.controls-card, .result-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.controls-card h2 {
    color: #007bff;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-top: 0;
}

.input-group {
    margin-bottom: 15px;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

input[type="text"], input[type="number"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s, opacity 0.3s;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

button:disabled {
    background-color: #a0c3e8;
    cursor: not-allowed;
}

#loading-spinner {
    text-align: center;
    padding: 20px;
    color: #007bff;
    font-weight: 600;
}

/* 结果卡片样式 */
.result-card h1 {
    color: #28a745;
    margin-bottom: 20px;
    text-align: center;
}

/* 移除 map-and-data 布局，使用全宽 */
.data-section.full-width {
    width: 100%; /* 确保结果占据全部宽度 */
    display: block;
    margin-top: 0;
}

.section-block {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
}

.section-block h3 {
    margin-top: 0;
    color: #007bff;
}

.day-route {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid #ccc;
}