/* PassioneBridge Account Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ===== MASTHEAD (Header) — white bg, dark text, PB logo ===== */
.pf-v5-c-masthead {
    --pf-v5-c-masthead--BackgroundColor: #FFFFFF !important;
    --pf-v5-global--Color--100: #0F172A !important;
    --pf-v5-global--Color--200: #334155 !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

/* Masthead toolbar inherits masthead bg */
.pf-v5-c-masthead .pf-v5-c-toolbar {
    --pf-v5-c-toolbar--BackgroundColor: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

/* All text/icons inside masthead → dark */
.pf-v5-c-masthead,
.pf-v5-c-masthead .pf-v5-c-button,
.pf-v5-c-masthead .pf-v5-c-button.pf-m-plain,
.pf-v5-c-masthead .pf-v5-c-menu-toggle,
.pf-v5-c-masthead .pf-v5-c-menu-toggle__text,
.pf-v5-c-masthead .pf-v5-c-menu-toggle__icon,
.pf-v5-c-masthead .pf-v5-c-toolbar__item,
.pf-v5-c-masthead .pf-v5-c-avatar {
    color: #0F172A !important;
}

/* Masthead plain buttons (hamburger, user dropdown) hover */
.pf-v5-c-masthead .pf-v5-c-button.pf-m-plain:hover,
.pf-v5-c-masthead .pf-v5-c-menu-toggle:hover {
    color: #DD183B !important;
}

/* Logo → replace with PB logo */
.pf-v5-c-masthead__brand img,
.pf-v5-c-masthead__main img,
.pf-v5-c-masthead .pf-v5-c-brand,
.pf-v5-c-masthead .pf-v5-c-brand img {
    content: url('../img/logo-full.png') !important;
    height: 36px !important;
    width: auto !important;
}

/* Remove the dark separator line in masthead */
.pf-v5-c-masthead__main::before {
    border-bottom: none !important;
}

/* ===== SIDEBAR — light background ===== */
.pf-v5-c-page__sidebar {
    --pf-v5-c-page__sidebar--BackgroundColor: #FFFFFF !important;
    --pf-v5-global--Color--100: #0F172A !important;
    --pf-v5-global--Color--200: #334155 !important;
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border-right: 1px solid #e8e8e8 !important;
}

/* ===== NAVIGATION LINKS ===== */
/* Default nav link style */
.pf-v5-c-nav__link {
    color: #334155 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Nav link hover */
.pf-v5-c-nav__link:hover {
    color: #DD183B !important;
}

/* Current/active nav link */
.pf-v5-c-nav__link.pf-m-current {
    color: #DD183B !important;
    font-weight: 600 !important;
}

/* Active indicator bar (left border on current link) */
.pf-v5-c-nav__link.pf-m-current::after,
.pf-v5-c-nav__link.pf-m-current::before {
    background-color: #DD183B !important;
    border-color: #DD183B !important;
}

/* Nav section title */
.pf-v5-c-nav__section-title {
    color: #0F172A !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

/* ===== BUTTONS ===== */
/* Primary button — PB red */
.pf-v5-c-button.pf-m-primary {
    background-color: #DD183B !important;
    border-color: #DD183B !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    letter-spacing: 1px !important;
}

.pf-v5-c-button.pf-m-primary:hover {
    background-color: #CC1939 !important;
    border-color: #CC1939 !important;
}

/* Link-style buttons */
.pf-v5-c-button.pf-m-link {
    color: #DD183B !important;
}

.pf-v5-c-button.pf-m-link:hover {
    color: #CC1939 !important;
}

/* ===== LINKS ===== */
a:not(.pf-v5-c-nav__link):not(.pf-v5-c-button) {
    color: #DD183B !important;
}

a:not(.pf-v5-c-nav__link):not(.pf-v5-c-button):hover {
    color: #CC1939 !important;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Poppins', sans-serif !important;
}

.pf-v5-c-title {
    font-family: 'Poppins', sans-serif !important;
}

.pf-v5-c-form__label-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
}

/* ===== INPUT FOCUS ===== */
.pf-v5-c-form-control:focus-within {
    border-color: #DD183B !important;
}

/* ===== ALERT / ERROR ===== */
.pf-v5-c-alert.pf-m-danger {
    border-left-color: #DD183B !important;
}

/* ===== FOOTER info ===== */
#kc-info-wrapper {
    font-family: 'Poppins', sans-serif !important;
    text-align: center !important;
}

/* ===== DROPDOWN MENUS (user menu etc.) ===== */
.pf-v5-c-menu-toggle::before {
    border-color: transparent !important;
}

/* ===== SWITCH / TOGGLE ===== */
.pf-v5-c-switch__input:checked + .pf-v5-c-switch__toggle {
    background-color: #DD183B !important;
}

/* ===== TABS (if present) ===== */
.pf-v5-c-tabs__link::after {
    border-color: transparent !important;
}

.pf-v5-c-tabs__link:hover::after,
.pf-v5-c-tabs__item.pf-m-current .pf-v5-c-tabs__link::after {
    border-color: #DD183B !important;
}
