:root {
    --bs-primary: #0ea5e9;
    --bs-primary-rgb: 14, 165, 233;
}

.btn-primary {
    --bs-btn-bg: #0ea5e9;
    --bs-btn-border-color: #0ea5e9;
    --bs-btn-hover-bg: #0284c7;
    --bs-btn-hover-border-color: #0369a1;
    --bs-btn-active-bg: #0369a1;
    --bs-btn-active-border-color: #075985;
    --bs-btn-disabled-bg: #0ea5e9;
    --bs-btn-disabled-border-color: #0ea5e9;
    --bs-btn-focus-shadow-rgb: 14, 165, 233;
}

.btn-outline-primary {
    --bs-btn-color: #0ea5e9;
    --bs-btn-border-color: #0ea5e9;
    --bs-btn-hover-bg: #0ea5e9;
    --bs-btn-hover-border-color: #0ea5e9;
    --bs-btn-active-bg: #0ea5e9;
    --bs-btn-active-border-color: #0ea5e9;
    --bs-btn-disabled-color: #0ea5e9;
    --bs-btn-disabled-border-color: #0ea5e9;
    --bs-btn-focus-shadow-rgb: 14, 165, 233;
}

.alert-success,
.alert-info,
.alert-warning,
.alert-primary,
.alert-secondary {
    --bs-alert-color: #075985;
    --bs-alert-bg: #e0f2fe;
    --bs-alert-border-color: #7dd3fc;
}

.alert-danger {
    --bs-alert-color: #fff;
    --bs-alert-bg: #dc3545;
    --bs-alert-border-color: #dc3545;
}

.avatar-circle {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-circle-lg {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #0ea5e9;
    font-weight: 600;
    border-radius: 50%;
}

.stat-card {
    border-left: 0.25rem solid;
}

.stat-card-primary {
    border-left-color: #0ea5e9;
}

.stat-card-success {
    border-left-color: #1cc88a;
}

.stat-card-info {
    border-left-color: #36b9cc;
}

.stat-card-warning {
    border-left-color: #f6c23e;
}

.app-shell {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "brand"
        "topbar"
        "sidebar"
        "main";
    min-height: 100vh;
}

.app-shell > .brand-bar {
    grid-area: brand;
}

.app-shell > .topbar {
    grid-area: topbar;
}

.app-shell > .sidebar {
    grid-area: sidebar;
}

.app-shell > .main-content {
    grid-area: main;
}

.sidebar {
    width: 100%;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .app-shell {
        grid-template-columns: 260px 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "brand topbar"
            "sidebar main";
    }

    .sidebar {
        width: 100%;
        min-height: 100vh;
    }
}

.sidebar .form-label {
    color: rgba(255, 255, 255, .85);
}

.sidebar .navbar-brand {
    color: #fff;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, .8);
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-radius: .25rem;
}
