:root {
    --ticket-sidebar-width: 250px;
    --ticket-sidebar-bg: #18314f;
}

body {
    min-height: 100vh;
}

.navbar-brand {
    font-weight: 700;
}

.hero {
    background: linear-gradient(135deg, var(--bs-primary), #18314f);
    color: #fff;
    border-radius: var(--bs-border-radius-xl);
}

.ticket-card,
.admin-card {
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 .125rem .375rem rgba(0, 0, 0, .04);
}

.app-sidebar {
    width: var(--ticket-sidebar-width);
    min-height: 100vh;
    position: fixed;
    inset: 0 auto 0 0;
    background: var(--ticket-sidebar-bg) !important;
    z-index: 1030;
}

.app-main {
    margin-left: var(--ticket-sidebar-width);
}

.app-brand-icon {
    width: 36px;
    height: 36px;
}

.app-sidebar-link {
    color: rgba(255, 255, 255, .75);
}

.app-sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.app-sidebar-link.active {
    color: #fff;
    background: var(--bs-primary);
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex: 0 0 auto;
}

.topbar-search {
    width: 320px;
}

.message-internal {
    border-left: .25rem solid var(--bs-danger) !important;
    background: var(--bs-danger-bg-subtle);
}

.ticket-subject-link {
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 600;
}

.ticket-subject-link:hover {
    color: var(--bs-primary);
}

.table-ticket-list > :not(caption) > * > * {
    padding-top: .85rem;
    padding-bottom: .85rem;
    vertical-align: middle;
}

.ticket-message-body {
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .app-main {
        margin-left: 0;
    }

    .topbar-search {
        width: 220px;
    }
}
