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

#wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.55);
    padding: 0.7rem 1rem;
    margin: 0.15rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.sidebar-nav .nav-link.active {
    color: #fff;
    background: rgba(78, 115, 223, 0.25);
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#page-content-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background: #f5f7fa;
}

.navbar {
    padding: 0.6rem 1rem;
}

.order-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.order-card .btn-action {
    border-radius: 2rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.order-card .btn-action i {
    font-size: 0.85rem;
}

.order-card .btn-call {
    border-color: #28a745;
    color: #28a745;
}
.order-card .btn-call:hover {
    background: #28a745;
    color: #fff;
}

.order-card .btn-location {
    border-color: #5a67d8;
    color: #5a67d8;
}
.order-card .btn-location:hover {
    background: #5a67d8;
    color: #fff;
}

.order-card .btn-details {
    border-color: #718096;
    color: #718096;
}
.order-card .btn-details:hover {
    background: #718096;
    color: #fff;
}

@media (max-width: 767.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    #page-content-wrapper {
        margin-left: 0;
    }
}
