:root {
    --hcp-top-nav-bg: #ffffff;
    --hcp-side-vendor-bg: #495372;
    --hcp-side-menu-bg: #30394a;
    --hcp-side-link: #dde2ee;
    --hcp-side-link-active-bg: #0b0c0f;
    --hcp-side-link-hover-bg: rgba(255, 255, 255, 0.08);
    --hcp-content-bg: #f5f6f7;
    --bs-primary: #1a7282;
    --bs-primary-rgb: 26, 114, 130;
    --bs-pagination-color: #1a7282;
    --bs-pagination-hover-color: #1a7282;
    --bs-pagination-active-bg: #1a7282;
    --bs-pagination-active-border-color: #1a7282;
    --bs-pagination-active-color: #fff;
    --bs-pagination-focus-color: #1a7282;
    --bs-pagination-hover-bg: #e3f1f4;
    --bs-pagination-hover-border-color: #1a7282;
    --bs-btn-bg: #1a7282;
    --bs-btn-border-color: #1a7282;
    --bs-btn-hover-bg: #155d6a;
    --bs-btn-hover-border-color: #155d6a;
    --bs-btn-active-bg: #125260;
    --bs-btn-active-border-color: #125260;
    --bs-btn-disabled-bg: #1a7282;
    --bs-btn-disabled-border-color: #1a7282;
}

.hcp-embedded html,
.hcp-embedded body,
.hcp-embedded .h-100 {
    height: auto !important;
    padding: 1rem;
}

.hcp-embedded #headerBar,
.hcp-embedded #sideMenu {
    display: none !important;
}

.hcp-embedded #embeddedFilterBar {
    display: block !important;
}

.hcp-embedded .box {
    border-radius: 0 !important;
    padding: 1rem 1.5rem !important;
}

.hcp-embedded .customer-shell {
    max-width: none;
}

.breadcrumbs-panel {
    display: none;
    padding-left: 2rem;
    font-size: 0.887rem;
    color: #757678;
}

.hcp-embedded .breadcrumbs-panel {
    display: block;
}

body.hcp-shell {
    margin: 0;
    background: var(--hcp-content-bg);
    min-height: 100vh;
    font-family: var(--bs-body-font-family, 'Helvetica Neue', Arial, sans-serif);
}

.hcp-top-nav {
    height: 80px;
    background: var(--hcp-top-nav-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hcp-top-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    gap: 12px;
}

.hcp-top-nav-title {
    font-family: Ysoft, Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #2a3345;
    white-space: nowrap;
}

.hcp-top-nav-title-text {
    font-size: 1.05rem;
}

.hcp-top-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.hcp-top-separator {
    width: 3px;
    height: 100%;
    background: #f5f5f5;
}

.hcp-top-user-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
}

.hcp-top-dc {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    max-width: 200px;
    align-self: center;
}

.hcp-top-dc-icon {
    color: #8b96a8;
    font-size: 1rem;
    align-self: center;
}

.hcp-top-dc-select {
    border-radius: 999px;
    font-weight: 600;
    color: #2a3345;
    border-color: transparent;
    padding-left: 5px;
    padding-right: 28px;
    background-position: right 10px center;
    height: 32px;
    font-size: 0.9rem;
    background-color: #ffffff;
}

.hcp-top-dc-select:focus {
    border-color: transparent;
    background-color: #f3f5f8;
    box-shadow: 0 0 0 0.2rem rgba(26, 114, 130, 0.15);
}

.hcp-top-dc-select:hover {
    background-color: #f3f5f8;
}

.hcp-top-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    max-width: 420px;
}

.hcp-top-user-name {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 16px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcp-top-user-name-link {
    color: #1a7282;
    text-decoration: none;
}

.hcp-top-user-name-link:hover {
    text-decoration: underline;
}

.hcp-top-user-company {
    margin-top: 2px;
    color: #5a6476;
    font-weight: 600;
    font-size: 90%;
    max-height: 2.4em;
    line-height: 1.2em;
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

.hcp-top-user-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2a3345;
    flex: 0 0 32px;
}

.hcp-top-user-icon i {
    font-size: 1.25rem;
}

.hcp-top-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2a3345;
    text-decoration: none;
}

.hcp-top-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2a3345;
}

.hcp-layout {
    min-height: calc(100vh - 80px);
    display: flex;
}

.hcp-side {
    width: 240px;
    display: flex;
    flex-direction: column;
    flex: 0 0 240px;
}

.hcp-side-vendor {
    background: var(--hcp-side-vendor-bg);
    color: #ffffff;
    vertical-align: middle;
    font-size: 1rem;
    overflow: auto;
    padding: 1.2rem 0.5rem 1.2rem 1rem;
    font-family: Ysoft, Arial, Helvetica, sans-serif;
    border-bottom: 1px solid #f5f6f7;
    min-height: 70px;
    align-content: center;
}

.hcp-side-vendor-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hcp-side-vendor-type {
    opacity: 0.85;
    background-color: #30394A;
    font-size: 80%;
    color: #fff;
    padding: 3px 5px 2px 5px;
    border-radius: 3px;
}

.hcp-side-vendor-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.hcp-side-menu {
    background: var(--hcp-side-menu-bg);
    flex: 1 1 auto;
    padding: 10px 0;
}

.hcp-side-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: var(--hcp-side-link);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.hcp-side-menu-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.hcp-side-menu-item:hover {
    background: var(--hcp-side-link-hover-bg);
    color: var(--hcp-side-link);
}

.hcp-side-menu-item.is-active {
    background: var(--hcp-side-link-active-bg);
}

.hcp-content {
    flex: 1 1 auto;
    min-width: 0;
    adding: 0;
}

.hcp-content-card {
    height: calc(100vh - 80px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #0e3f7e08, 0 1px 1px -0.5px #2a334508, 0 3px 3px -1.5px #2a334608,
        0 6px 6px -3px #2a334608, 0 12px 12px -6px #0e3f7e08, 0 24px 24px -12px #0e3f7e10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hcp-placeholder {
    color: #2a3345;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 auto;
}

.hcp-frame {
    border: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex: 1 1 auto;
}

@media (max-width: 820px) {
    .hcp-layout {
        flex-direction: column;
    }

    .hcp-side {
        width: 100%;
        flex: 0 0 auto;
    }

    .hcp-content-card {
        height: calc(100vh - 64px - 28px - 160px);
    }
}