/* FGC agency (customer) portal additions. Layered on top of interface-portal.css.
   The customer portal reuses every .portal-* class from interface-portal.css and
   adds the header agency switcher + a few dashboard / bake-card helpers. */

/* Chapter contact email link in the header (mirrors the WebForms _portal.master). */
.customer-portal-layout .portal-chapter {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-top: 0.15rem;
}
.customer-portal-layout .portal-chapter a {
    color: #fff;
    text-decoration: underline;
}
.customer-portal-layout .portal-chapter a:hover {
    color: var(--color-tertiary, #9FCCBB);
}

/* Agency switcher sits at the far right of the dark portal header. */
.customer-portal-layout .portal-agency-switch {
    margin-left: auto;
    text-align: right;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.customer-portal-layout .portal-agency-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin: 0;
}

.customer-portal-layout .portal-agency-single {
    font-weight: 700;
    font-size: 1rem;
}

.customer-portal-layout .portal-agency-form {
    margin: 0;
}

.customer-portal-layout .portal-agency-select {
    font-family: muli, sans-serif;
    font-weight: 600;
    color: #27282A;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    min-width: 220px;
    max-width: 320px;
    cursor: pointer;
}

.customer-portal-layout .portal-agency-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .customer-portal-layout .portal-agency-switch {
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
}

/* Dashboard stat counters. */
.customer-portal-layout .cp-stat {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-top: 4px solid var(--color-primary, #EE7779);
    border-radius: 0.5rem;
    box-shadow: var(--shadow, 0 2px 12px 0 rgba(40, 40, 40, .09));
    padding: 1.1rem 1rem;
    text-align: center;
    height: 100%;
}
.customer-portal-layout .cp-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-secondary, #1A8584);
}
.customer-portal-layout .cp-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
    margin-top: 0.25rem;
}

/* Detail page label/value rows + agency-contact cards. */
.customer-portal-layout .cp-detail-row {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted #e2e2e2;
}
.customer-portal-layout .cp-detail-label {
    min-width: 170px;
    font-weight: 700;
    color: var(--color-primary, #EE7779);
}
.customer-portal-layout .cp-contact-card {
    border: 1px solid #e2e2e2;
    border-left: 6px solid var(--color-tertiary, #9FCCBB);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

/* Dashboard "message from FGC" + upcoming-bake cards. */
.customer-portal-layout .cp-card {
    border: 1px solid #e2e2e2;
    border-radius: 0.5rem;
    box-shadow: var(--shadow, 0 2px 12px 0 rgba(40, 40, 40, .09));
    overflow: hidden;
    background: #fff;
    height: 100%;
}

.customer-portal-layout .cp-card-header {
    background: var(--color-tertiary, #9FCCBB);
    color: #27282A;
    font-weight: 700;
    padding: 0.75rem 1rem;
}

.customer-portal-layout .cp-card-body {
    padding: 1rem;
}

.customer-portal-layout .cp-bake-card {
    border: 1px solid #e2e2e2;
    border-left: 6px solid var(--color-primary, #EE7779);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.customer-portal-layout .cp-mini-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 0.1rem;
}

.customer-portal-layout .cp-status-pill {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--color-tertiary, #9FCCBB);
    color: #27282A;
}

/* Event-type choice cards (wizard step 1) reuse the WebForms cake-card look. */
.customer-portal-layout .cp-choice-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.customer-portal-layout .cp-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    max-width: 100%;
    min-height: 200px;
    background: #F5D6D5;
    border-radius: 1.5rem;
    padding: 2em 1.5em;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    color: #EE7771;
    font-weight: 700;
    font-size: 1.5rem;
    transition: box-shadow 120ms ease;
}

.customer-portal-layout .cp-choice-card:hover {
    box-shadow: 0 0 0 3px #EE7771 inset;
    color: #EE7771;
}

.customer-portal-layout .cp-choice-card i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

/* Wizard step nav buttons row. */
.customer-portal-layout .cp-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== 2026-06-05 (Paul): per-Christine color tweaks ===== */
/* Banner is a lighter pink than the brand melon (#EE7779). */
.customer-portal-layout .portal-header,
.customer-portal-layout .portal-logo-block {
    background: #EA9999;
}

/* Left-menu TEXT is neutral dark gray (normal + rollover); ICONS stay FGC melon. */
.customer-portal-layout .portal-nav a,
.customer-portal-layout .portal-nav a:hover {
    color: #464646;
}
.customer-portal-layout .portal-nav a i {
    color: var(--color-primary, #EE7779);
}
