:root {
    --iuiu-green: #007A33;
    --iuiu-green-soft: #0d9b4b;
    --iuiu-accent: #0E7490;
    --iuiu-bg: #f3f6f9;
    --iuiu-card-bg: #ffffff;
    --iuiu-border-soft: rgba(15, 23, 42, 0.06);
    --iuiu-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.06);
    --iuiu-radius-xl: 18px;
    --iuiu-radius-lg: 14px;
}

/* Global */
body {
    background: radial-gradient(circle at top left, #f9fafb 0, #f1f5f9 40%, #e5edf5 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: #0f172a;
}

/* Header */
.br-header {
    background: linear-gradient(90deg, #ffffff 0%, #f9fafb 45%, #e0f2f1 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid var(--iuiu-border-soft);
}

.br-header .nav-link-profile {
    border-radius: 999px;
    padding-inline: 1rem;
    background: rgba(255,255,255,0.7);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.br-header .nav-link-profile:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    transform: translateY(-1px);
}

.br-logo img {
    padding: 10px 12px;
}

/* Sidebar */
.br-sideleft {
    background: linear-gradient(180deg, #022c22 0%, #064e3b 40%, #0f766e 100%);
    color: rgba(226, 232, 240, 0.9);
    border-right: 1px solid rgba(15, 23, 42, 0.35);
}

.br-sideleft-menu .br-menu-link {
    border-radius: 999px;
    margin-inline: 10px;
    margin-bottom: 4px;
    padding-block: 8px;
    padding-inline: 14px;
    color: rgba(226, 232, 240, 0.85);
    transition: background 0.2s ease, color 0.2s ease, transform 0.08s ease;
}

.br-sideleft-menu .br-menu-link .menu-item-icon {
    opacity: 0.9;
}

.br-sideleft-menu .br-menu-link:hover {
    background: rgba(15, 118, 110, 0.8);
    color: #e0f2f1;
    transform: translateY(-1px);
}

.br-sideleft-menu .br-menu-link.active {
    background: #e0f2f1;
    color: #022c22;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.br-sideleft-menu .br-menu-link.active .menu-item-icon {
    color: var(--iuiu-green);
}

/* Main panel / page */
.br-mainpanel {
    background: transparent;
}

.br-pageheader {
    background: transparent;
    padding-inline: 25px;
    padding-top: 18px;
    padding-bottom: 4px;
    border: none;
}

.br-pagebody {
    padding-inline: 25px;
    padding-top: 10px;
}

/* Cards & tiles */
.card,
.bg-white.rounded.shadow,
.bg-white.rounded.shadow-sm,
.bg-white.rounded.shadow-base,
.card.shadow,
.card.shadow-base {
    border-radius: var(--iuiu-radius-xl) !important;
    border: 1px solid var(--iuiu-border-soft);
    background: var(--iuiu-card-bg);
    box-shadow: var(--iuiu-shadow-soft);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(90deg, rgba(0, 122, 51, 0.06), transparent);
    border-bottom: 1px solid var(--iuiu-border-soft);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.tx-26, .tx-28, .tx-32 {
    letter-spacing: 0.01em;
}

.tx-26, .tx-28, .tx-32 {
    font-weight: 650;
}

/* Buttons */
.btn-primary {
    background: var(--iuiu-green);
    border-color: var(--iuiu-green);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(0, 122, 51, 0.35);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--iuiu-green-soft);
    border-color: var(--iuiu-green-soft);
    box-shadow: 0 14px 28px rgba(0, 122, 51, 0.4);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--iuiu-green);
    border-color: rgba(0, 122, 51, 0.4);
    border-radius: 999px;
}

.btn-outline-primary:hover {
    background: rgba(0, 122, 51, 0.06);
    border-color: var(--iuiu-green);
}

/* Alerts */
.alert-info,
.alert-success,
.alert-warning,
.alert-danger {
    border-radius: var(--iuiu-radius-lg);
    border: 1px solid var(--iuiu-border-soft);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding-inline: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--iuiu-green);
}

/* Footer */
.br-footer {
    background: transparent;
    border-top: 1px solid var(--iuiu-border-soft);
    padding-inline: 25px;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    border-bottom-width: 1px;
    background: rgba(15, 23, 42, 0.03);
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--iuiu-green);
    box-shadow: 0 0 0 0.15rem rgba(0, 122, 51, 0.18);
}

/* Dashboard metrics */
.tx-lato.tx-black,
.tx-lato.tx-inverse {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.rickshaw_graph svg .area {
    opacity: 0.9;
}
