.dashboard-main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 112px); /* 56px navbar + 56px menu */
}
.dashboard-navbar, .dashboard-menu {
    position: sticky;
    top: 0;
    z-index: 1001;
}
.scroll-card {
    max-height: none;
    overflow-y: visible;
}
.dashboard-navbar {
    background: #2d3a4b;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
}
.dashboard-logo {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 2px;
    background: #fff;
    color: #2d3a4b;
    padding: 0.2rem 1.2rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.dashboard-menu {
    background: #22304a;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    height: 56px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}
.dashboard-user {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}
.user-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}
.menu-item {
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 500;
    border-radius: 6px 6px 0 0;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}
.menu-item .menu-icon {
    margin-right: 0.6rem;
    font-size: 1.2rem;
}
.menu-item.active, .menu-item:hover {
    background: #fff;
    color: #22304a;
}
.dashboard-content {
    padding: 2.5rem 2rem;
    box-sizing: border-box;
    max-height: calc(100vh - 56px); /* 56px is menubar height */
    overflow-y: auto;
}
tr.customer-active td {
    background-color: #d4edda !important;
}
tr.customer-inactive td {
    background-color: #f8d7da !important;
}

/* Reusable yellow pencil icon (inside grey circle) */
.icon-pencil-yellow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* Inline SVG as data URI to avoid extra requests */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.5' fill='none' stroke='%239E9E9E' stroke-width='1.5'/%3E%3Cg transform='rotate(-45 12 12)'%3E%3Crect x='6' y='10.5' width='8' height='3' rx='1.2' fill='%23FFC107'/%3E%3Crect x='14' y='10.25' width='1' height='3.5' fill='%23B0BEC5'/%3E%3Crect x='15' y='10' width='3.5' height='4' rx='0.8' fill='%23F44336'/%3E%3Cpolygon points='6,12 3.8,11 3.8,13' fill='%23616161'/%3E%3Cpolygon points='6,12 4.4,11.5 4.4,12.5' fill='%23D7CCC8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Reusable round icon button utility */
.btn-icon-round {
    border-radius: 50% !important;
    width: 2em;
    height: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 1;
}
