:root {
    --sidebar-width: 240px;
    --topbar-height: 56px;
}

body {
    min-height: 100vh;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    border-right: 1px solid var(--bs-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-sidebar .nav-link {
    color: var(--bs-body-color);
    border-radius: 0.375rem;
}

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

.app-main {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    height: var(--topbar-height);
    border-bottom: 1px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.app-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.ticket-card {
    cursor: pointer;
    transition: box-shadow 0.15s ease-in-out;
}

.ticket-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.task-card {
    cursor: pointer;
    transition: box-shadow 0.15s ease-in-out;
}

.task-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.status-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.status-dot--info { background-color: var(--bs-success); }
.status-dot--warning { background-color: var(--bs-warning); }
.status-dot--critical { background-color: var(--bs-danger); }

@media (max-width: 768px) {
    .app-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1040;
        background: var(--bs-body-bg);
        transform: translateX(-100%);
        transition: transform 0.2s ease-in-out;
    }
    .app-sidebar.is-open {
        transform: translateX(0);
    }
}
