.skin-base,
.skin-base .content,
.skin-base .content-body {
    background-color: transparent;
}

.skin-base .content-menu,
.skin-base .content-menu svg {
    color: var(--srp-hamburger);
    stroke: var(--srp-hamburger);
}

.skin-base .content-menu:hover,
.skin-base .content-menu:focus {
    color: var(--header-bg-color);
}

.skin-base .sidebar .sidebar-header {
    margin-top: 16px;
}

.skin-base .sidebar-logo--image {
    padding: 0;
}

.skin-base .sidebar-logo--image img {
    display: block;
    max-height: 28px;
    width: auto;
}

.skin-base .srp-dashboard-panel {
    width: 100%;
}

.skin-base .srp-dashboard-panel p {
    margin-bottom: 0;
}

.skin-base .nav-sidebar .nav-item {
    display: flex;
    flex-direction: column;
}

.skin-base .nav-sidebar .nav-item > .nav-link {
    min-height: 40px;
}

.skin-base .nav-sidebar .nav-item .nav-sub {
    margin-top: 4px;
}

.skin-base .nav-sidebar .nav-item .sub-link {
    min-height: 32px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Fix carousel spacing when inside the Command Center Dashboard */
.srp-command-center-grid .employee-directory-container {
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.srp-command-center-grid .employee-directory-container .directory-title {
    display: none; /* Hide the duplicate title since the card header already has one */
}

/* Keep incident map/details side-by-side on dashboard widths and stack only on small screens. */
.srp-command-center-grid .srp-core-details-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.srp-command-center-grid .srp-core-details-row .srp-core-details-col {
    min-width: 0;
}

.srp-command-center-grid .srp-command-team-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

#srp-open-action-modal {
    width: 140px;      /* change this value */
    min-width: 140px;
    max-width: 140px;
}

.srp-command-center-grid .srp-command-team-row .srp-command-team-col {
    min-width: 0;
}

/* Keep long action form content inside the modal with vertical scrolling. */
#srp-action-modal .srp-modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
}

#srp-action-modal .srp-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .srp-command-center-grid .srp-core-details-row {
        grid-template-columns: 1fr;
    }

    .srp-command-center-grid .srp-command-team-row {
        grid-template-columns: 1fr;
    }

    .srp-command-center-grid .srp-core-details-row .srp-core-details-col {
        margin-bottom: 8px;
    }

    .srp-command-center-grid .srp-command-team-row .srp-command-team-col {
        margin-bottom: 8px;
    }

    .srp-command-center-grid .srp-core-details-row .srp-core-details-col:last-child {
        margin-bottom: 0;
    }

    .srp-command-center-grid .srp-command-team-row .srp-command-team-col:last-child {
        margin-bottom: 0;
    }
}