:root {
    --primary-color: #0082c8;
    --primary-gradient: linear-gradient(135deg, #0082c8, #00d2ff);
    --bg-color: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-color: #2d3436;
    --border-radius: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

#sidebar {
    width: 350px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.control-group {
    background: #fff;
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #636e72;
}

select, input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

select:focus, input:focus {
    border-color: var(--primary-color);
}

.btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 130, 200, 0.3);
}

.btn:disabled {
    background: #b2bec3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#map-container {
    flex-grow: 1;
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
}

.status-panel {
    margin-top: auto;
    background: #2d3436;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    max-height: 150px;
    overflow-y: auto;
}

.progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s;
}

.station-info {
    margin-top: 10px;
    font-size: 0.9rem;
}

.station-name {
    font-weight: 700;
    color: var(--primary-color);
}
