:root {
    --header-height: 66px;
    --color-surface-cu_topbar: #ffffff; /* cu_topbar background (solid fallback) */
    --color-surface-cu_topbar-glass: rgba(255, 255, 255, 0.1); /* cu_topbar frosted-glass background */
    /* ── Effects ─────────────────────────────────────────────── */
    --effect-cu_topbar-blur: blur(8px) saturate(180%);
}

/* General */
body{
    padding-top: var(--layout-cu_topbar-height);
    background-color: var(--color-surface-white);
}

.q-container {
    max-width: unset;
    margin-inline: auto;
    padding-inline: 40px;
}

@media (max-width: 720px) {
    .q-container {
        max-width: unset;
        margin-inline: auto;
        padding-inline: 16px;
    }
}


/* ============================================================
BLOCK: header
Fixed horizontal bar across the top of the content area.
Shifts its left edge in sync with sidebar expand/collapse.
============================================================ */
.header {
    font-family: var(--font-body);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    width: unset;
    background: var(--color-surface-cu_topbar-glass);
    backdrop-filter: var(--effect-cu_topbar-blur);
    -webkit-backdrop-filter: var(--effect-cu_topbar-blur);
    z-index: 900;
    transition: left var(--transition-base);
}

.header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

.header_inner {
    height: var(--layout-cu_topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}


@media only screen and (max-width: 992px) {
    #main-container-column {
        margin-top: 0px !important;
    }

}

/* ── header__left ──────────────────────────────────────────
Contains the mobile burger button and the page title.    */
.header__left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo {
    max-width: 130px;
    max-height: 58px;
}


/* ── header__right ─────────────────────────────────────────
Contains CTA button, icon actions, divider, and profile. */
.header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── header__cta-btn || Login Button ───────────────────────────────────────
Primary call-to-action (e.g. "Login").           */
.header__cta-btn {
    background: var(--color-brand-gold);
    color: var(--color-surface-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition:
        background var(--transition-base),
        box-shadow var(--transition-base),
        transform 0.12s;
}

.header__cta-btn:hover {
    text-decoration: none;
    color: var(--color-surface-page);
    background: var(--color-brand-gold-hover);
    box-shadow: var(--shadow-md);
}
.header__cta-btn:active {
    transform: scale(0.96);
}

/* On very small screens, hide the label and show only the icon */
@media (max-width: 460px) {
    .header__cta-btn span {
        display: none;
    }

    .header__cta-btn svg {
        margin-left: 2px;
    }
    .header__cta-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


@keyframes pulse-aura {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}


/* ───── Contact Us Button ─────────────────────────────────────── */
.header-contact_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 36px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 14px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: var(--color-text-inverse);
    -webkit-user-select: none;
    user-select: none;
    background: var(--color-brand-navy);
    transition: border-color 0.35s ease, color 0.25s ease, transform 0.2s ease;
}
.header-contact_btn svg{
    display: none;
}

.header-contact_btn:hover {
    background: var(--color-brand-navy-hover);
    color: var(--color-text-inverse);
}

@media (max-width: 360px) {
    
    .header-contact_btn{
        justify-content: center;
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-full);
        color: var(--color-brand-navy);    
        background: var(--color-surface-subtle);
    }
    .header-contact_btn:hover {
        background: var(--color-surface-subtle);
        color: var(--color-brand-navy);
    }
    .header-contact_btn svg{
        display: unset;
    }
    .header-contact_btn span.text-label {
        display: none;
    }

}

/* ============================================================
BLOCK: profile-dropdown
User profile trigger + flyout menu in the header.
The menu appears when the block has modifier --open.
============================================================ */
.profile-dropdown {
    position: relative;
}

/* ── profile-dropdown__trigger ─────────────────────────────
Clickable row: avatar + name/credit + chevron.           */
.profile-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 10px;
    border: 0;
    background: none;
    text-align: left;
    transition:
        background var(--transition-base),
        border-color var(--transition-base);
}

.profile-dropdown__trigger:hover {
    background: var(--color-surface-subtle);
}

/* ── profile-dropdown__avatar ──────────────────────────────
Circular initials badge with gradient background.        */
.profile-dropdown__avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg,
            var(--color-avatar-gradient-from) 0%,
            var(--color-avatar-gradient-to) 80%);
    border: 1.5px solid rgba(149, 128, 73, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.profile-dropdown__avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg,
            var(--color-avatar-gradient-from) 0%,
            var(--color-avatar-gradient-to) 80%);
    border: 1.5px solid rgba(149, 128, 73, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
    flex-shrink: 0;
    letter-spacing: 0.5px;
    overflow: hidden;
    position: relative;
}

.profile-dropdown__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.profile-dropdown__avatar--has-photo {
    background: transparent;
    padding: 0;
}

/* ── profile-dropdown__info ─────────────────────────────── */
.profile-dropdown__info {
    line-height: 1.6;
    text-align: right;
}

.profile-dropdown__name {
    font-size: 13.5px;
    font-weight: 500;
    padding: 0px 6px;
    color: var(--color-text-primary);
    opacity: 80%;
    white-space: nowrap;
}

.profile-dropdown__meta {
    font-size: 11.5px;
    color: var(--color-text-secondary);
    font-weight: 400;
    white-space: nowrap;
    padding: 2px 8px;
    background: var(--color-surface-inset);
    border-radius: var(--radius-full);
}

.profile-dropdown__meta strong {
    font-weight: 600;
}

/* Highlight positive credit values in green */
.profile-dropdown__meta-value--positive {
    color: var(--color-status-success);
}

/* Highlight negative credit values in red */
.profile-dropdown__meta-value--negative {
    color: var(--color-status-danger);
}

/* ── profile-dropdown__chevron ──────────────────────────── */
.profile-dropdown__chevron {
    width: 16px;
    height: 16px;
    color: var(--color-text-primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

/* Rotate chevron when menu is open */
.profile-dropdown--open .profile-dropdown__chevron {
    transform: rotate(180deg);
}

/* On small screens hide everything except the avatar */
@media (max-width: 600px) {

    .profile-dropdown__info,
    .profile-dropdown__chevron {
        display: none;
    }

    .profile-dropdown__trigger {
        padding: 4px;
        border: none;
    }
}

/* ── profile-dropdown__menu ─────────────────────────────────
Flyout panel; shown only when parent has --open modifier. */
.profile-dropdown__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--color-surface-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 260px;
    padding: 6px;
    display: none;
    z-index: 1100;
    animation: dropdown-enter 0.18s ease;
}

.profile-dropdown--open .profile-dropdown__menu {
    display: block;
}

@media (max-width: 480px) {
    .profile-dropdown__menu {
        position: fixed;
        top: var(--layout-cu_topbar-height);
        left: 16px;
        right: 16px;
        width: auto;
    }
}

@keyframes dropdown-enter {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── profile-dropdown__menu-header ─────────────────────────
Non-interactive section at the top of the menu showing
the full name and email address.                         */
.profile-dropdown__menu-header {
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4px;
}

.profile-dropdown__menu-header-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.profile-dropdown__menu-header-company {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.profile-dropdown__menu-header-email {
    font-size: 13px;
    color: var(--color-link);
    margin-top: 1px;
}

/* ── profile-dropdown__menu-item ────────────────────────────
A single link row inside the dropdown.                   */
.profile-dropdown__menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-text-primary);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-base);
}

.profile-dropdown__menu-item:hover {
    text-decoration: none;
    color: var(--color-text-primary);
    background: var(--color-surface-subtle);
}

.profile-dropdown__menu-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-secondary);
}

.profile-dropdown__menu-item img {
    width: 18px;
    height: 18px;
}

/* Modifier: destructive action (sign out, delete) */
.profile-dropdown__menu-item--danger {
    color: var(--color-status-danger);
}

.profile-dropdown__menu-item--danger svg {
    fill: var(--color-status-danger);
}

.profile-dropdown__menu-item--danger:hover {
    text-decoration: none;
    color: var(--color-status-danger);
    background: var(--color-status-danger-hover);
}
/* ── profile-dropdown__credit ───────────────────────────────
   Credit details block inside the dropdown menu.           */
.profile-dropdown__credit {
    padding: 8px 12px 10px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4px;
}

.profile-dropdown__credit-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-secondary);
    margin-bottom: 7px;
}

.profile-dropdown__credit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
}

.profile-dropdown__credit-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.profile-dropdown__credit-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.profile-dropdown__credit-value--positive {
    color: var(--color-status-success);
}

.profile-dropdown__credit-value--negative {
    color: var(--color-status-danger);
}

/* ── HERO ─────────────────────────────── */
.hero {
  color: var(--color-text-primary);
  padding-block: 20px 8px;
}
.hero__inner { max-width: 1024px; margin-inline: auto; padding-inline: 20px; text-align: center;}
.hero__title { font-size: 1.0625rem; color: var(--color-text-primary); margin-bottom: 12px; font-family: var(--font-heading);}
.hero__subtitle { font-size: 15px; line-height: 1.65; max-width: 52ch; margin: 0 auto; font-weight: 400; color: var(--color-text-secondary);}

@media (max-width: 639px) {
  .hero { padding-block: 32px 40px; }
  .hero__title { font-size: 1.5rem; }
  .hero__subtitle { font-size: 0.8rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 1.825rem; }
}