body {
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #fff;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #343a40;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #6c757d;
}

.sidebar .nav-link.active {
    color: #0d6efd;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    color: #6c757d;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: #fff;
}

.navbar .navbar-brand {
    font-weight: 600;
    color: #fff;
}

.navbar .navbar-text {
    color: #fff;
}

/* Cards */
.card {
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    margin-bottom: 1rem;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: .5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: .5rem;
}

/* Tables */
.table {
    border-radius: .5rem;
    overflow: hidden;
}

.table th, .table td {
    vertical-align: middle;
}

/* Modal enhancements */
.modal-content {
    border-radius: .75rem;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
    font-size: .85rem;
    color: #6c757d;
}

/* Adjust tab content spacing */
.tab-content > .tab-pane {
    padding-top: 1rem;
}

/* Adjust modal widths for larger forms */
.modal-dialog {
    max-width: 800px;
}

/* Adjust alert styling */
.alert {
    border-radius: .5rem;
}

/* Misc */
.text-xs {
    font-size: .75rem;
}
