:root {
    --lip-green: #198754;
    --lip-green-dark: #146c43;
    --lip-bg-soft: #f5f8f6;
    --lip-border: #dfe7e2;
}

body {
    font-size: 0.95rem;
    background: #f6f7f9;
    color: #212529;
}

.sidebar {
    min-height: calc(100vh - 56px);
    background: #ffffff;
    border-right: 1px solid var(--lip-border);
}

.sidebar .nav-link {
    color: #495057;
    border-radius: 0.65rem;
    margin-bottom: 0.2rem;
    padding: 0.6rem 0.8rem;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background: var(--lip-bg-soft);
    color: var(--lip-green-dark);
}

.sidebar .nav-link.active {
    background: rgba(25, 135, 84, 0.12);
    color: var(--lip-green-dark);
    font-weight: 600;
}

.content-wrapper {
    min-height: calc(100vh - 56px);
}

.card {
    border-radius: 1rem;
}

.card-header {
    border-bottom: 1px solid #eef1f3;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}

.badge-soft {
    background: rgba(25, 135, 84, 0.12);
    color: var(--lip-green-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
}

.form-required::after {
    content: " *";
    color: #dc3545;
}

.gis-map {
    border: 1px solid #dee2e6;
    border-radius: 0.8rem;
    overflow: hidden;
    background: #fff;
}

code {
    color: #b42318;
    background: #fff1f0;
    padding: 0.12rem 0.35rem;
    border-radius: 0.35rem;
}

.alert {
    border-radius: 0.8rem;
}

.btn {
    border-radius: 0.65rem;
}

.table-responsive {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--lip-border);
    }
}