/* BobMail Custom Styles */

/* Account for fixed navbar */
body {
    padding-top: 56px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: .5rem 1rem;
    border-radius: 0;
}

.sidebar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, .05);
}

.sidebar .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, .1);
    border-left: 3px solid #0d6efd;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.sidebar-heading {
    font-size: .75rem;
    letter-spacing: .1em;
}

/* Sidebar collapse */
.sidebar-collapsed .sidebar {
    display: none !important;
}

.sidebar-collapsed #main-content {
    margin-left: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Cards */
.card {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .5rem;
    transition: box-shadow .15s ease-in-out;
}

.card:hover {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

/* Empty state */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: #6c757d;
}

/* Kanban drag-and-drop */
.kanban-column.drag-over {
    background: #e3f2fd !important;
    border-color: #0d6efd !important;
    border-style: dashed !important;
}

/* Toast notifications */
.toast-container-fixed {
    position: fixed;
    top: 70px;
    right: 1rem;
    z-index: 1080;
}

/* Dashboard style switcher (lives in the dashboard header). Theme-agnostic:
   inherits text colour + uses translucent borders so it reads on the light
   classic view and the dark themes alike. */
.dash-switch {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}
.dash-switch-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 600;
    color: #8a929c;
}
.dash-switch a {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    padding: .26rem .62rem;
    border-radius: 999px;
    color: inherit;
    opacity: .72;
    border: 1px solid rgba(128, 128, 128, .35);
    transition: opacity .14s ease, background-color .14s ease, border-color .14s ease;
}
.dash-switch a:hover {
    opacity: 1;
    border-color: rgba(128, 128, 128, .7);
}
.dash-switch a.is-active {
    opacity: 1;
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}
