html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --nav: #0f1923;
    --nav2: #182535;
    --accent: #f59e0b;
    --bg: #f3f4f6;
}

body {
    margin: 0;
    background: var(--bg);
    font-family: Segoe UI, Arial, sans-serif;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 270px;
    background: var(--nav);
    color: #fff;
    flex-shrink: 0;
    overflow-y: auto;
}

.logo-box {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

    .logo-box h4 {
        color: var(--accent);
        font-weight: 800;
        margin: 0;
    }

    .logo-box small {
        color: rgba(255,255,255,.5);
    }

.nav-title {
    font-size: .72rem;
    letter-spacing: .08rem;
    color: rgba(255,255,255,.35);
    padding: 18px 20px 6px;
    text-transform: uppercase;
}

.side-link {
    display: block;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    padding: 10px 20px;
}

    .side-link i {
        margin-right: 8px;
    }

    .side-link:hover,
    .side-link.active {
        background: var(--nav2);
        color: #fff;
        border-left: 4px solid var(--accent);
    }

.main-content {
    flex: 1;
    min-width: 0;
}

.topbar {
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.page-content {
    padding: 24px;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    min-height: 350px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), #dbeafe;
    background-size: 40px 40px;
    position: relative;
}

.pin {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #f59e0b;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

.dispatch-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .dispatch-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
    }

.dispatch-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 52px;
}

    .dispatch-metric > i {
        font-size: 1.4rem;
    }

    .dispatch-metric strong {
        font-size: 1.1rem;
    }