* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
    background: #f5f6f8;
    color: #202124;
}
header.app-bar {
    background: #1a73e8;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header.app-bar h1 { font-size: 16px; margin: 0; }
header.app-bar button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
}

.login-wrap {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}
.login-card {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.15);
    width: 320px;
}
.login-card h2 { margin-top: 0; }
.login-card label { display: block; margin-top: 12px; font-size: 13px; color: #5f6368; }
.login-card input {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
}
.login-card button {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.error-text { color: #d93025; font-size: 13px; margin-top: 8px; min-height: 16px; }

.progress-bar {
    background: #e0e0e0;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0;
}
.progress-bar > div { background: #188038; height: 100%; }

.stop-list { list-style: none; margin: 0; padding: 0; }
.stop-list li {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 16px;
}
.stop-list .stop-name { font-weight: 600; }
.stop-list .stop-address { font-size: 13px; color: #5f6368; }
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #fff;
}
.status-actions button {
    margin-top: 8px;
    margin-right: 6px;
    padding: 6px 10px;
    border: 1px solid #dadce0;
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
}

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

.driver-panel {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.driver-panel .name { font-weight: 600; }
.driver-panel .meta { font-size: 12px; color: #5f6368; }

.layout-admin { display: flex; height: calc(100vh - 49px); }
.layout-admin #map { width: 65%; height: 100%; }
.sidebar { width: 35%; overflow-y: auto; background: #fff; }
