:root {
    --sidebar-width: 240px;
}

body {
    background-color: #f4f6f9;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: #1f2d3d;
    color: #fff;
    overflow-y: auto;
    z-index: 1030;
    transition: transform .2s ease-in-out;
}

.app-sidebar .brand {
    padding: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.app-sidebar .nav-link {
    color: rgba(255,255,255,.8);
    padding: .65rem 1rem;
    border-left: 3px solid transparent;
}

.app-sidebar .nav-link:hover,
.app-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-left-color: #4e8cff;
}

.app-content {
    margin-left: var(--sidebar-width);
    padding: 1.5rem;
}

.app-topbar {
    margin-left: var(--sidebar-width);
    background: #fff;
    border-bottom: 1px solid #e3e6ea;
}

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }
    .app-sidebar.show {
        transform: translateX(0);
    }
    .app-content,
    .app-topbar {
        margin-left: 0;
    }
}

.guest-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2d3d, #34495e);
}

.guest-wrapper.admin-theme {
    background: linear-gradient(135deg, #3a1f1f, #5e3434);
}
