html, body {
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F5F7FA;
    color: #1A202C;
}

.card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .875rem 1rem;
    border-radius: 1rem;
    color: #475569;
    font-size: .95rem;
    font-weight: 500;
    transition: .2s ease;
}

.sidebar-link:hover {
    color: #2DAAA5;
    background: rgba(45, 170, 165, 0.08);
}

.sidebar-link.active {
    color: #2DAAA5;
    background: rgba(45, 170, 165, 0.12);
    box-shadow: inset 0 0 0 1px rgba(45, 170, 165, 0.18);
}

.sidebar-link-danger:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.kpi-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.kpi-label {
    color: #64748B;
    font-size: .875rem;
}

.kpi-value {
    color: #1A202C;
    font-size: 1.875rem;
    line-height: 1;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
}

.section-title {
    font-family: 'Lexend', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #2DAAA5;
    color: #fff;
    border-radius: .9rem;
    padding: .8rem 1rem;
    font-weight: 600;
    transition: .2s ease;
    box-shadow: 0 10px 20px rgba(45, 170, 165, 0.16);
}

.btn-primary:hover {
    background: #248a86;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #fff;
    color: #334155;
    border-radius: .9rem;
    padding: .8rem 1rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    transition: .2s ease;
}

.btn-secondary:hover {
    background: #F8FAFC;
}

.table-shell {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #E2E8F0;
    background: white;
}

.table-shell table {
    width: 100%;
    border-collapse: collapse;
}

.table-shell thead th {
    background: #F8FAFC;
    color: #475569;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .95rem 1rem;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
}

.table-shell tbody td {
    padding: 1rem;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: top;
}

.table-shell tbody tr:hover {
    background: #FAFCFD;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .3rem .65rem;
    font-size: .75rem;
    font-weight: 600;
}

.badge-success {
    background: #ecfdf5;
    color: #047857;
}

.badge-warning {
    background: #fff7ed;
    color: #c2410c;
}

.badge-slate {
    background: #f1f5f9;
    color: #475569;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: .9rem;
    padding: .85rem 1rem;
    outline: none;
    transition: .2s ease;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2DAAA5;
    box-shadow: 0 0 0 4px rgba(45, 170, 165, 0.12);
}

.modal-backdrop {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
}

.empty-state {
    border: 1px dashed #CBD5E1;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: #64748B;
    background: #fff;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #dc2626;
    color: #fff;
    border-radius: .9rem;
    padding: .8rem 1rem;
    font-weight: 600;
    transition: .2s ease;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.16);
}

.btn-danger:hover {
    background: #b91c1c;
}

.badge-danger {
    background: #fef2f2;
    color: #b91c1c;
}
