:root {
    --dbkl-blue: #0b3d91;
}

body {
    background: #f3f5f9;
}

.bg-dbkl {
    background: var(--dbkl-blue);
}

.navbar-brand {
    font-weight: 600;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b3d91, #1f6fd1);
}

.login-card,
.login-wrap .alert {
    width: 100%;
    max-width: 380px;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dbkl-blue);
    margin-bottom: 0.75rem;
}

#pick-map {
    height: 260px;
    border-radius: 0.5rem;
}

#full-map {
    height: calc(100vh - 230px);
    min-height: 420px;
    border-radius: 0.5rem;
}

.mini-map {
    height: 220px;
    border-radius: 0.5rem;
}

.status-option .btn {
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.photo-thumb {
    position: relative;
    width: 96px;
    height: 96px;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4rem;
    border: 1px solid #dee2e6;
}

.photo-thumb .btn {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 0 0.3rem;
    line-height: 1.3;
}

.gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.table-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 0.3rem;
}

tr.clickable {
    cursor: pointer;
}

.map-legend .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

.leaflet-popup-content img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 0.3rem;
    margin-bottom: 0.3rem;
}

.chart-box {
    position: relative;
    height: 280px;
}

.order-tick {
    width: 1.4em;
    height: 1.4em;
    cursor: pointer;
    margin: 0;
}

.order-box {
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    background: #f6f8fb;
    border: 1px solid #e3e8f0;
}
