.btn-bordered {
    border: 1px solid #808080;
}

/*
    CoreUI's default light theme picks near-black text for success/danger/
    warning/info buttons (only primary/secondary/dark get white by default).
    Force white text on all solid color variants for consistent readability.
*/
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    --cui-btn-color: #fff;
    --cui-btn-hover-color: #fff;
    --cui-btn-active-color: #fff;
    --cui-btn-disabled-color: #fff;
}

/*
    Gradient stat-card backgrounds matching CoreUI's own widget style
    (coreui.io/demos/bootstrap/latest/light). Not part of the free
    @coreui/coreui package CSS, so defined here with the same color stops.
*/
.bg-primary-gradient {
    background-color: #5856d6;
    background-image: linear-gradient(45deg, #5856d6 0%, #6f67db 100%);
}

.bg-success-gradient {
    background-color: #2eb85c;
    background-image: linear-gradient(45deg, #2eb85c 0%, #1b9e3e 100%);
}

.bg-info-gradient {
    background-color: #39f;
    background-image: linear-gradient(45deg, #39f 0%, #2982cc 100%);
}

.bg-warning-gradient {
    background-color: #f9b115;
    background-image: linear-gradient(45deg, #f9b115 0%, #f6960b 100%);
}

.bg-danger-gradient {
    background-color: #e55353;
    background-image: linear-gradient(45deg, #e55353 0%, #d93737 100%);
}

/*
    CoreUI's compiled coreui.min.css only sets --cui-sidebar-occupy-start on
    .sidebar's siblings; it's the admin template's own stylesheet (not the
    base package) that reads it to push .wrapper past the fixed sidebar.
    Without this, the sidebar overlaps the page content and intercepts clicks.
*/
.wrapper {
    width: 100%;
    padding-inline: var(--cui-sidebar-occupy-start, 0) var(--cui-sidebar-occupy-end, 0);
    transition: padding 0.15s;
}
