/* PH UI design tokens — single source of truth for the brand palette.
   (Values preserved from the prior contrast work; change here, not inline.) */
:root {
    --ph-gold: #8a6d2f;          /* primary brand gold (buttons, accents) */
    --ph-gold-2: #82682f;        /* secondary gold (borders, alt buttons) */
    --ph-gold-dark: #6f5726;     /* hover / active gold */
    --ph-muted: #6b7280;         /* muted text on white */
    --ph-muted-strong: #5b606a;  /* muted text on grey backgrounds */
    --ph-muted-soft: #6b7079;    /* muted secondary text / contact */
    --ph-cream: #faf6ee;         /* hover / active tint on white surfaces */
}

/* UI consistency (M3): required-field marker, applied to required-control labels */
.ph-req {
    color: #c0392b;
    font-weight: 700;
    margin-left: 2px;
}

@font-face {
    font-family: "Merienda-Bold";
    src: URL("/Content/fonts/Merienda-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Merienda-Regular";
    src: URL("/Content/fonts/Merienda-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Enchanting";
    src: URL("/Content/fonts/Enchanting-Celebrations.ttf") format("truetype");
}

/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin Italic"), local("/Content/fonts/Poppins-ThinItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiAyp8kv8JHgFVrJJLmE0tDMPKzSQ.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin Italic"), local("/Content/fonts/Poppins-ThinItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiAyp8kv8JHgFVrJJLmE0tMMPKzSQ.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin Italic"), local("/Content/fonts/Poppins-ThinItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiAyp8kv8JHgFVrJJLmE0tCMPI.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight Italic"), local("/Content/fonts/Poppins-ExtraLightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmv1pVFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight Italic"), local("/Content/fonts/Poppins-ExtraLightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmv1pVGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight Italic"), local("/Content/fonts/Poppins-ExtraLightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmv1pVF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light Italic"), local("/Content/fonts/Poppins-LightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm21lVFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light Italic"), local("/Content/fonts/Poppins-LightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm21lVGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light Italic"), local("/Content/fonts/Poppins-LightItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm21lVF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Italic"), local("/Content/fonts/Poppins-Italic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrJJLucXtAKPY.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Italic"), local("/Content/fonts/Poppins-Italic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrJJLufntAKPY.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Italic"), local("/Content/fonts/Poppins-Italic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrJJLucHtA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium Italic"), local("/Content/fonts/Poppins-MediumItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmg1hVFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium Italic"), local("/Content/fonts/Poppins-MediumItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmg1hVGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium Italic"), local("/Content/fonts/Poppins-MediumItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmg1hVF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold Italic"), local("/Content/fonts/Poppins-SemiBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmr19VFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold Italic"), local("/Content/fonts/Poppins-SemiBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmr19VGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold Italic"), local("/Content/fonts/Poppins-SemiBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmr19VF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold Italic"), local("/Content/fonts/Poppins-BoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmy15VFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold Italic"), local("/Content/fonts/Poppins-BoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmy15VGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold Italic"), local("/Content/fonts/Poppins-BoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLmy15VF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold Italic"), local("/Content/fonts/Poppins-ExtraBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm111VFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold Italic"), local("/Content/fonts/Poppins-ExtraBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm111VGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold Italic"), local("/Content/fonts/Poppins-ExtraBoldItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm111VF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black Italic"), local("/Content/fonts/Poppins-BlackItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm81xVFteOcEg.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black Italic"), local("/Content/fonts/Poppins-BlackItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm81xVGdeOcEg.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black Italic"), local("/Content/fonts/Poppins-BlackItalic"), url(https://fonts.gstatic.com/s/poppins/v5/pxiDyp8kv8JHgFVrJJLm81xVF9eO.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin"), local("/Content/fonts/Poppins-Thin"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrLPTucXtAKPY.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin"), local("/Content/fonts/Poppins-Thin"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrLPTufntAKPY.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 100;
    src: local("/Content/fonts/Poppins Thin"), local("/Content/fonts/Poppins-Thin"), url(https://fonts.gstatic.com/s/poppins/v5/pxiGyp8kv8JHgFVrLPTucHtA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight"), local("/Content/fonts/Poppins-ExtraLight"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLFj_Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight"), local("/Content/fonts/Poppins-ExtraLight"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLFj_Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 200;
    src: local("/Content/fonts/Poppins ExtraLight"), local("/Content/fonts/Poppins-ExtraLight"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLFj_Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light"), local("/Content/fonts/Poppins-Light"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light"), local("/Content/fonts/Poppins-Light"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDz8Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    src: local("/Content/fonts/Poppins Light"), local("/Content/fonts/Poppins-Light"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Regular"), local("/Content/fonts/Poppins-Regular"), url(https://fonts.gstatic.com/s/poppins/v5/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Regular"), local("/Content/fonts/Poppins-Regular"), url(https://fonts.gstatic.com/s/poppins/v5/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: local("/Content/fonts/Poppins Regular"), local("/Content/fonts/Poppins-Regular"), url(https://fonts.gstatic.com/s/poppins/v5/pxiEyp8kv8JHgFVrJJfecg.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium"), local("/Content/fonts/Poppins-Medium"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium"), local("/Content/fonts/Poppins-Medium"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    src: local("/Content/fonts/Poppins Medium"), local("/Content/fonts/Poppins-Medium"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold"), local("/Content/fonts/Poppins-SemiBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold"), local("/Content/fonts/Poppins-SemiBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: local("/Content/fonts/Poppins SemiBold"), local("/Content/fonts/Poppins-SemiBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold"), local("/Content/fonts/Poppins-Bold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold"), local("/Content/fonts/Poppins-Bold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: local("/Content/fonts/Poppins Bold"), local("/Content/fonts/Poppins-Bold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold"), local("/Content/fonts/Poppins-ExtraBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDD4Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold"), local("/Content/fonts/Poppins-ExtraBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDD4Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    src: local("/Content/fonts/Poppins ExtraBold"), local("/Content/fonts/Poppins-ExtraBold"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLDD4Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black"), local("/Content/fonts/Poppins-Black"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLBT5Z11lFc-K.woff2) format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black"), local("/Content/fonts/Poppins-Black"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLBT5Z1JlFc-K.woff2) format("woff2");
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 900;
    src: local("/Content/fonts/Poppins Black"), local("/Content/fonts/Poppins-Black"), url(https://fonts.gstatic.com/s/poppins/v5/pxiByp8kv8JHgFVrLBT5Z1xlFQ.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    color: #4c4c50;
    background-color: #f6f6f6;
    font-family: Poppins;
}

body,
.form-control,
.btn {
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.09);
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

.checkbox-label {
    display: block;
    position: relative;
    margin-left: 25px;
    margin-top: -19px;
    line-height: 14px;
}

.page {
    padding: 69px 0px 50px;
}

.subscription-page {
    padding-top: 0px;
    background-color: #fff;
}

.navbar {
    padding: 0.5rem 0rem;
}

.navbar-top {
    position: fixed;
    left: 0;
    right: 0;
    background-color: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 3;
    padding: 15px 0px;
}

.navbar-brand {
    vertical-align: middle;
    display: table-cell;
    padding: 0px 0px;
    color: #4c4c50;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    overflow: hidden;
}

    .navbar-brand .navbar-brand-icon {
        float: left;
        margin-right: 10px;
    }

        .navbar-brand .navbar-brand-icon img {
            height: 58px;
        }

    .navbar-brand .navbar-brand-text {
        float: left;
        padding-top: 6px;
    }

        .navbar-brand .navbar-brand-text h1 {
            color: var(--ph-gold-2);
            font-size: 18px;
            margin-bottom: 0px;
            font-family: "Merienda-Bold";
            padding-top: 12px;
        }

        .navbar-brand .navbar-brand-text h2 {
            color: var(--ph-gold);
            font-size: 12px;
            font-family: Enchanting;
            margin-bottom: 0px;
            margin-top: 2px;
        }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--ph-gold-2);
    border-radius: 0px;
}

.nav-pills .nav-link {
    color: #4c4c50;
    border-bottom: 1px solid #eee;
    border-radius: 0px;
}

.navbar-nav {
    flex-direction: row;
}

    .navbar-nav .nav-item {
        padding-left: 8px;
    }

        .navbar-nav .nav-item a {
            color: #4c4c50;
            line-height: 36px;
            -webkit-transition: background-color 300ms linear;
            -ms-transition: background-color 300ms linear;
            transition: background-color 300ms linear;
        }

            .navbar-nav .nav-item a .active-status {
                position: absolute;
                z-index: 1;
                top: -4px;
                right: 6px;
                width: 8px;
                height: 8px;
                background-color: var(--ph-gold);
                border-radius: 50%;
                -webkit-animation: active-status 1000ms linear infinite;
                animation: active-status 1000ms linear infinite;
            }

            .navbar-nav .nav-item a.rounded-circle {
                border: 1px solid #ccc;
                height: 36px;
                width: 36px;
                padding: 0px;
                text-align: center;
                position: relative;
            }

            .navbar-nav .nav-item a::after {
                content: none;
            }

            .navbar-nav .nav-item a.rounded-circle i {
                color: #ccc;
                font-size: 18px;
                line-height: 36px;
            }

            .navbar-nav .nav-item a.rounded-circle:hover {
                background-color: var(--ph-gold);
                border-color: var(--ph-gold);
                color: #fff;
            }

                .navbar-nav .nav-item a.rounded-circle:hover i {
                    color: #fff;
                }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }

#top-right-nav {
    justify-content: flex-end;
}

.profile-item {
}

    .profile-item a {
        overflow: hidden;
    }

        .profile-item a .profile-icon {
            float: left;
            width: 36px;
            text-align: center;
            height: 36px;
            border-radius: 50%;
            background-color: var(--ph-gold);
            color: #fff;
            margin-right: 10px;
            margin-left: 10px;
            font-size: 22px;
            font-weight: 400;
            font-family: Merienda-Bold;
            margin-right: 10px !important;
        }

        .profile-item a .profile-name {
            float: left;
        }

            .profile-item a .profile-name i {
                margin-left: 4px;
            }

    .page-menu .dropdown-menu,
    .profile-item .dropdown-menu {
        padding: 0px;
        border-radius: 0px;
        width: 220px;
    }

        .page-menu .dropdown-menu a,
        .profile-item .dropdown-menu a {
            font-size: 13px;
            line-height: 14px;
            padding: 12px 6px;
            display: block;
        }

            .page-menu .dropdown-menu a i,
            .profile-item .dropdown-menu a i {
                color: #ccc;
                margin-right: 6px;
                margin-left: 4px;
            }

            .page-menu .dropdown-menu a:hover,
            .page-menu .dropdown-menu a:active,
            .page-menu .dropdown-menu a:focus,
            .profile-item .dropdown-menu a:hover,
            .profile-item .dropdown-menu a:active,
            .profile-item .dropdown-menu a:focus {
                background-color: #f2f2f2;
                text-decoration: none;
                cursor: pointer;
            }

.page-menu {
    background-color: #fff;
}

    .page-menu .navbar-nav .nav-item {
        padding: 0px;
    }

        .page-menu .navbar-nav .nav-item a {
            font-size: 14px;
            font-weight: 400;
            padding-left: 20px;
            padding-right: 20px;
        }

            .page-menu .navbar-nav .nav-item a:hover,
            .page-menu .navbar-nav .nav-item a:active,
            .page-menu .navbar-nav .nav-item a:focus {
                background-color: #f2f2f2;
            }

            .page-menu .navbar-nav .nav-item a i {
                color: #ccc;
                margin-right: 6px;
            }

.dropdown-menu .dropdown-divider {
    margin: 0px;
}

.alerts-item .dropdown-menu,
.matches-item .dropdown-menu {
    width: 240px;
}

.img-thumbnail {
    cursor: pointer;
}

.img-profile-thumbnail {
    height: 225px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.my-match .img-profile-thumbnail {
    height: 300px;
}

.match-card-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .match-card-detail .control-label {
        font-size: 0.75rem;
        color: #a2a2a2;
        margin-bottom: 0;
    }

    .match-card-detail > div {
        font-size: 0.9375rem;
        font-weight: 500;
        color: #333;
    }

.not-expandable {
    border: none;
    cursor: default;
}

.page-header {
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    padding: 50px 0px;
    background-color: #51504c;
}

    .page-header .page-title {
        color: #fff;
        font-family: "Merienda", sans-serif;
        font-weight: 700;
        text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2);
        margin: 0px;
        font-size: 30px;
    }

.footer-content {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #51504c;
    font-size: 13px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 0px 15px 15px;
    z-index: 2;
}

ul.footer-pages {
    list-style: none;
    position: relative;
    display: block;
    left: 50%;
    margin-left: -40px;
    margin-top: 15px;
}

    ul.footer-pages li {
        position: relative;
        float: left;
        display: block;
        right: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }

        ul.footer-pages li:first-child {
            padding-left: 0px;
        }

        ul.footer-pages li:last-child {
            padding-right: 0px;
        }

        ul.footer-pages li a {
            color: #fff;
        }

.footer-copy {
    text-align: right;
    margin-bottom: 0px;
    margin-top: 15px;
    color: #fff;
}

.form-title {
    font-size: 22px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-family: Merienda-Bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Back / Save & Continue row. Flex layout so the two button groups sit on one line
   (Back left, Next right). The markup still uses Bootstrap-3 .pull-left/.pull-right,
   which no longer float under Bootstrap 4 — hence the buttons previously stacked. */
.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    padding: 0px;
    border-radius: 0px;
}

    .dropdown-menu > p {
        padding: 10px;
        margin-bottom: 0px;
        font-size: 13px;
    }

    .dropdown-menu a i {
        color: #ccc;
        margin-right: 6px;
        margin-left: 4px;
    }

.dropdown-item {
    font-size: 13px;
    line-height: 14px;
    padding: 12px 12px 12px 6px;
    color: rgba(0, 0, 0, 0.9);
}

    .dropdown-item:hover,
    .dropdown-item:active,
    .dropdown-item:focus {
        background-color: #f6f6f6;
        color: rgba(0, 0, 0, 0.9);
    }

.bootstrap-select > .dropdown-toggle {
    line-height: 24px;
    background-color: #fff;
}

    .bootstrap-select > .dropdown-toggle .filter-option {
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
    }

        .bootstrap-select > .dropdown-toggle .filter-option.disabled {
            background-color: #e9ecef;
        }

.bootstrap-select .dropdown-menu {
    max-height: 300px;
}

    .bootstrap-select .dropdown-menu li a {
        padding: 0.375rem 0.75rem;
        font-size: 13px;
    }

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    color: var(--ph-gold-2);
}

.datepicker {
    padding: 0.375rem 0.75rem !important;
}

.btn {
    border-radius: 0px;
}

.btn-light {
    color: #4c4c50;
}

.text-primary {
    color: var(--ph-gold-2) !important;
}

.bg-primary {
    background-color: var(--ph-gold-2) !important;
}

.btn-primary {
    background-color: var(--ph-gold-2);
    border-color: var(--ph-gold-2);
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:hover {
        background-color: var(--ph-gold-2);
        border-color: #1f96ad;
    }

.btn-outline-primary {
    color: var(--ph-gold);
    background-color: transparent;
    background-image: none;
    border-color: var(--ph-gold);
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:active,
    .btn-outline-primary:focus {
        color: #fff;
        background-color: var(--ph-gold);
        border-color: var(--ph-gold-2);
    }

.text-secondary {
    color: var(--ph-gold);
}

.btn-secondary {
    background-color: var(--ph-gold-2);
    border-color: #cb9b4d;
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

    .btn-secondary:focus,
    .btn-secondary:active,
    .btn-secondary:hover {
        background-color: #cb9b4d;
        border-color: #c69039;
    }

.control-label {
    font-weight: 500;
}

.field-validation-error {
    font-size: 13px;
    color: #d9534f;
}

.form-control:focus {
    border-color: var(--ph-gold-2);
    box-shadow: 0 0 0 0.2rem rgba(192, 160, 98, 0.25);
}

.box-light {
    background-color: #f6f6f6;
    border: 1px solid #f2f2f2;
    padding: 25px;
    margin-bottom: 20px;
}

/*** Account Page ***/
.account-header,
.subscription-header {
    margin-top: 70px;
    margin-bottom: 50px;
    text-align: center;
    display: block;
}

    .account-header:hover,
    .subscription-header:hover {
        text-decoration: none;
    }

    .account-header img.logo,
    .subscription-header img.logo {
        width: 100px;
        margin-bottom: 5px;
    }

    .account-header .logo-text h1,
    .subscription-header .logo-text h1 {
        color: var(--ph-gold-2);
        font-size: 18px;
        margin-bottom: 0px;
        font-family: "Merienda-Bold";
    }

    .account-header .logo-text h2,
    .subscription-header .logo-text h2 {
        color: var(--ph-gold);
        font-size: 16px;
        font-family: Enchanting;
        margin-bottom: 0px;
    }

.account-title,
.box-title {
    text-align: center;
    margin-bottom: 20px;
}

    .account-title h4,
    .box-title h4 {
        font-family: Merienda-Bold;
        font-size: 20px;
        color: #333;
        text-align: center;
        margin-bottom: 0px;
    }

.account-link {
    font-size: 13px;
}

/* PH-310: links inside body text must be distinguishable without colour (WCAG 1.4.1) */
.account-link a {
    text-decoration: underline;
    color: #1565c0; /* PH-313: was bootstrap #007bff (3.68:1 on #f6f6f6); 5.1:1 */
}

.account-footer {
    margin-top: 30px;
    margin-bottom: 0px;
}

    .account-footer .btn {
        width: 100%;
        padding: 10px 30px;
    }

    .account-footer .footer-link {
        padding-top: 20px;
        text-align: center;
    }

/* Account Settings Container */
.account-settings-container {
    padding: 20px 0;
}

.account-settings-section {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .account-settings-section .form-group {
        margin-bottom: 20px;
    }

    .account-settings-section .form-control {
        border-radius: 6px;
        border: 1px solid #d4d4d4;
        padding: 10px 14px;
        font-size: 14px;
        transition: all 0.2s ease;
    }

        .account-settings-section .form-control:focus {
            border-color: var(--ph-gold-2);
            box-shadow: 0 0 0 0.2rem rgba(192, 160, 98, 0.15);
            outline: none;
        }

    .account-settings-section .control-label {
        color: #555;
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .account-settings-section .text-danger {
        color: var(--ph-gold-2) !important;
        font-size: 12px;
        margin-top: 5px;
        display: block;
    }

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .account-settings-section {
        padding: 20px 16px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .account-title h4,
    .box-title h4 {
        font-size: 18px;
    }

    .account-footer .btn {
        min-width: unset;
    }

    .account-settings-container {
        padding: 10px 0;
    }
}

@media (max-width: 575px) {
    .account-settings-section {
        padding: 16px 12px;
    }

        .account-settings-section .form-control {
            font-size: 16px; /* Prevents zoom on iOS */
        }
}

/* profile */
.profile-steps .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

    .profile-steps .nav-item:last-child {
        border-bottom: none;
    }

    .profile-steps .nav-item a {
        color: #4c4c50;
        padding: 0.7rem 1rem;
        transition: background-color 0.5s ease;
    }

        .profile-steps .nav-item a i {
            color: #ccc;
            font-size: 16px;
            position: absolute;
        }

        .profile-steps .nav-item a .nav-item-text {
            padding-left: 20px;
        }

    .profile-steps .nav-item.active,
    .profile-steps .nav-item:active,
    .profile-steps .nav-item:focus,
    .profile-steps .nav-item:hover {
        background-color: var(--ph-gold);
    }

        .profile-steps .nav-item.active a,
        .profile-steps .nav-item:active a,
        .profile-steps .nav-item:focus a,
        .profile-steps .nav-item:hover a {
            color: #fff !important;
        }

            .profile-steps .nav-item.active a i,
            .profile-steps .nav-item:active a i,
            .profile-steps .nav-item:focus a i,
            .profile-steps .nav-item:hover a i {
                color: #fff !important;
            }

/* ============================================================
   Profile Page — Responsive Layout
   ============================================================ */

/* ---- Mobile: horizontal scrollable tab strip ---- */
@media (max-width: 767px) {

    /* Sidebar column: strip margin/padding so the strip is full-width */
    .profile-page-sidebar {
        padding-left: 0;
        padding-right: 0;
    }

    /* White card that wraps the nav becomes a sticky strip */
    .profile-steps-wrapper {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
        margin-bottom: 0 !important;
    }

    /* Make the <ul> scroll horizontally */
    .profile-steps {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE / Edge */
        padding: 0 !important;
        margin: 0;
    }

        .profile-steps::-webkit-scrollbar {
            display: none; /* Chrome / Safari */
        }

        /* Each step is an inline pill */
        .profile-steps .nav-item {
            flex: 0 0 auto;
            border-bottom: none !important;
            border-right: 1px solid rgba(0, 0, 0, 0.08);
            white-space: nowrap;
            position: relative;
        }

            .profile-steps .nav-item:last-child {
                border-right: none;
            }

            /* Active indicator: bottom border instead of background */
            .profile-steps .nav-item.active {
                background-color: transparent;
                border-bottom: 3px solid var(--ph-gold-2) !important;
            }

                .profile-steps .nav-item.active a,
                .profile-steps .nav-item:active a,
                .profile-steps .nav-item:focus a,
                .profile-steps .nav-item:hover a {
                    color: var(--ph-gold-2) !important;
                }

            .profile-steps .nav-item:hover,
            .profile-steps .nav-item:focus {
                background-color: rgba(192, 160, 98, 0.10);
            }

                .profile-steps .nav-item.active a i,
                .profile-steps .nav-item:active a i,
                .profile-steps .nav-item:focus a i,
                .profile-steps .nav-item:hover a i {
                    color: var(--ph-gold-2) !important;
                }

            .profile-steps .nav-item a {
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 0.65rem 0.85rem;
                font-size: 13px;
                white-space: nowrap;
                position: relative;
            }

                /* Revert the absolute-positioned icon to inline */
                .profile-steps .nav-item a i {
                    position: static;
                    font-size: 14px;
                    flex-shrink: 0;
                }

                .profile-steps .nav-item a .nav-item-text {
                    padding-left: 0;
                }

    /* Content column: full width, add breathing room */
    .profile-page-content {
        padding-left: 0;
        padding-right: 0;
    }

    /* Notes card: stack icon + text on very small screens */
    .ph-user-dashboard__notes-card {
        flex-direction: row;
        gap: 10px;
        padding: 12px;
    }

    .ph-user-dashboard__notes-card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }

    /* Form title */
    .form-title {
        font-size: 18px;
    }

    /* Form footer: stack Back / Next buttons */
    .form-footer {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

        .form-footer .pull-left,
        .form-footer .pull-right {
            float: none !important;
            width: 100%;
        }

        .form-footer .btn {
            width: 100%;
            text-align: center;
            padding: 12px;
            font-size: 15px;
        }

    /* Form rows: labels on top of inputs */
    .form-horizontal .row.pb-2 > [class*="col-lg-3"],
    .form-horizontal .row.pb-2 > [class*="col-md-4"] {
        margin-bottom: 2px;
    }

    /* Zip / city / state row: stack all three fields */
    .profile-city-state-row > div {
        margin-bottom: 8px;
    }
}

/* ---- Tablet (768–991px): keep sidebar but make it compact ---- */
@media (min-width: 768px) and (max-width: 991px) {

    .profile-steps .nav-item a {
        padding: 0.55rem 0.75rem;
        font-size: 12px;
    }

        .profile-steps .nav-item a i {
            font-size: 13px;
        }

        .profile-steps .nav-item a .nav-item-text {
            padding-left: 18px;
        }

    .form-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

        .form-footer .pull-left,
        .form-footer .pull-right {
            float: none !important;
        }
}

/* ---- Prevent horizontal overflow on the whole profile layout ---- */
.ph-user-body .container {
    overflow-x: hidden;
}

/* Ensure form controls are touch-friendly on mobile */
@media (max-width: 767px) {
    .form-control {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 10px 12px;
        min-height: 44px;
    }

    select.form-control {
        height: auto;
        min-height: 44px;
    }

    /* Reject reasons alert */
    .alert.alert-danger {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/** Subscription **/
.subscription-header {
    margin: 30px 0px;
}

a.subscription-box {
    border: 1px solid #eee;
    padding: 35px 25px 25px;
    text-align: center;
    display: block;
    color: #4c4c50;
    background-color: #d9d9d9;
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

    a.subscription-box.active,
    a.subscription-box:hover {
        text-decoration: none;
        background-color: var(--ph-gold-2);
        color: #fff;
    }

    a.subscription-box .name {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 5px;
    }

    a.subscription-box .price {
        position: relative;
        font-size: 52px;
        font-weight: 600;
    }

        a.subscription-box .price .price-sign {
            font-size: 30px;
            font-weight: 500;
            position: absolute;
            margin-left: -25px;
            margin-top: 5px;
        }

        a.subscription-box .price .price-duration {
            font-size: 18px;
            position: absolute;
            bottom: 15px;
            margin-left: 5px;
        }

.plan-box {
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    display: block;
    background-color: #d9d9d9;
    position: relative;
}

    .plan-box .duration {
        font-size: 24px;
        font-weight: 400;
    }

    .plan-box .price {
        position: relative;
        font-size: 52px;
        font-weight: 600;
    }

        .plan-box .price .price-sign {
            font-size: 30px;
            font-weight: 500;
            position: absolute;
            margin-left: -25px;
            margin-top: 5px;
        }

    .plan-box .billed {
        margin-bottom: 10px;
    }

    .plan-box .savings {
        margin-bottom: 10px;
        color: #cc0000;
    }

    .plan-box.active::before,
    .plan-box.active::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        border-color: transparent;
        border-style: solid;
    }

    .plan-box.active::before {
        border-width: 1.5em;
        border-right-color: #ccc;
        border-top-color: #ccc;
    }

    .plan-box.active::after {
        border-radius: 0.4em;
        border-width: 1.35em;
        border-right-color: var(--ph-gold-2);
        border-top-color: var(--ph-gold-2);
    }

.profile-img-thumbnail {
    text-align: center;
    text-align: center;
    background: #dee2e6;
    font-size: 125px;
    opacity: 0.5;
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.agreement-text {
    line-height: 26px;
}

.agreement-user {
    border-bottom: 1px solid;
    padding: 0px 30px;
}

.dash-tile {
    padding: 30px 20px;
    display: block;
    cursor: pointer;
    color: #4c4c50;
    position: relative;
}

    .dash-tile .icon {
        display: inline-block;
        margin-bottom: 15px;
    }

        .dash-tile .icon img {
            height: 40px;
        }

        .dash-tile .icon i {
            color: var(--ph-gold);
            font-size: 40px;
        }

    .dash-tile .title {
        float: right;
        text-align: right;
    }

        .dash-tile .title .text {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.5);
            margin-bottom: 5px;
        }

        .dash-tile .title .number {
            font-size: 20px;
        }

    /* Form submission tiles: allow 2 lines for long form names */
    .dash-tile.dash-tile--form .title {
        width: calc(100% - 50px);
        max-width: calc(100% - 50px);
        min-height: 2.8em;
    }

        .dash-tile.dash-tile--form .title .text {
            line-height: 1.2;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            word-break: break-word;
            margin-bottom: 0px;
        }

    .dash-tile .tile-footer {
        font-size: 11px;
        position: absolute;
        bottom: 5px;
        right: 20px;
        left: 20px;
        text-align: right;
        border-top: 1px solid #eee;
        padding-top: 5px;
    }

        .dash-tile .tile-footer i {
            margin-right: 5px;
            color: var(--ph-gold);
        }

    .dash-tile:hover {
        color: #4c4c50;
        text-decoration: none;
    }

.dataTables_wrapper {
    width: 100%;
}

.timeline {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    margin-left: 9px;
    margin-right: 2rem;
}

    .timeline .timeline-line {
        display: block;
        width: 0;
        height: 100%;
        position: absolute;
        top: 0;
        padding-top: 18px;
        left: 0;
        bottom: 0;
    }

        .timeline .timeline-line:after {
            position: relative;
            display: block;
            height: 100%;
            border: 1px dashed #cb9b4d;
            width: 1px;
            content: " ";
        }

.timeline-event {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    padding-top: 0;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

    .timeline-event:before {
        position: absolute;
        left: 0;
        top: 0;
        margin-left: -8px;
        width: 18px;
        height: 18px;
        content: " ";
        border-radius: 50%;
        background: 0 0;
        border: 4px solid rgba(201, 175, 125, 0.5);
        z-index: 1;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .timeline-event:after {
        position: absolute;
        left: 0;
        top: 0;
        margin-left: -5px;
        width: 12px;
        height: 12px;
        margin-top: 3px;
        content: " ";
        border-radius: 50%;
        background: transparent;
        z-index: 2;
    }

    .timeline-event.completed:after {
        background-color: #cb9b4d;
    }

.candidate-documents .candidate-documents-title {
    font-weight: 700;
    font-size: 1rem;
}

.candidate-documents a {
    font-weight: 700;
    font-style: normal;
    color: #4c4c50;
    text-decoration: none;
}

    .candidate-documents a:hover {
        color: #4c4c50;
        text-decoration: none;
    }

    .candidate-documents a i.fa {
        color: #cb9b4d;
        margin-right: 0.25rem;
    }

.timeline-horizontal {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}

    .timeline-horizontal .timeline-line {
        width: 100%;
        position: absolute;
        left: 50%;
        top: 8px;
        padding: 0px 7px 0px 10px;
    }

        .timeline-horizontal .timeline-line:after {
            position: relative;
            display: block;
            height: 100%;
            border: 1px dashed #cb9b4d;
            width: 100%;
            content: " ";
        }

        .timeline-horizontal .timeline-line .arrow-container {
            font-size: 13px;
            color: #f6f6f6;
            position: absolute;
            background-color: #cb9b4d;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            text-align: center;
            top: -12px;
            left: 50%;
            z-index: 1;
            margin-left: -12px;
            padding-top: 2px;
        }

    .timeline-horizontal .timeline-event {
        position: relative;
        display: inline-block;
        margin: 0;
        padding: 30px 0px 0px;
        width: 48%;
        text-align: center;
    }

        .timeline-horizontal .timeline-event:before {
            position: absolute;
            left: -9px;
            top: 0;
            margin-left: 50%;
            width: 18px;
            height: 18px;
            content: " ";
            border-radius: 50%;
            background: 0 0;
            border: 4px solid rgba(201, 175, 125, 0.5);
            z-index: 1;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        .timeline-horizontal .timeline-event:after {
            position: absolute;
            left: -6px;
            top: 0;
            margin-left: 50%;
            width: 12px;
            height: 12px;
            margin-top: 3px;
            content: " ";
            border-radius: 50%;
            background: transparent;
            z-index: 2;
        }

        .timeline-horizontal .timeline-event.completed:after {
            background-color: #cb9b4d;
        }

        .timeline-horizontal .timeline-event.Approved:after {
            background-color: #28a745;
        }

        .timeline-horizontal .timeline-event.Declined:after {
            background-color: #dc3545;
        }

/* Data Tables */
.table.dataTable.no-footer {
    padding-top: 0.5rem;
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTables_wrapper .dataTables_length select {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    border-right: none;
}

    table.dataTable thead th:last-child,
    table.dataTable thead td:last-child,
    table.dataTable tbody th:last-child,
    table.dataTable tbody td:last-child {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

table.dataTable tbody th,
table.dataTable tbody td {
    border-bottom: none;
}

    table.dataTable tbody th a,
    table.dataTable tbody td a {
        color: #4c4c50;
        font-weight: 600;
    }

        table.dataTable tbody th a:hover,
        table.dataTable tbody td a:hover,
        table.dataTable tbody th a:focus,
        table.dataTable tbody td a:focus,
        table.dataTable tbody th a:active,
        table.dataTable tbody td a:active {
            color: #4c4c50;
            font-weight: 600;
        }

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
    background-color: #f6f6f6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    min-width: 34px;
    border-color: rgba(0, 0, 0, 0.1) !important;
    margin: 0px;
    border-radius: 0px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        background: none;
        background-color: var(--ph-gold-2);
        border-color: var(--ph-gold-2);
        color: #fff !important;
        cursor: pointer;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.next {
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
        color: #ced4da !important;
    }

table.dataTable.no-footer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: transparent;
}

#match-specs td,
#match-specs th {
    padding: 3px 8px;
}

#match-specs tr td button {
    border: none;
    padding: 0px;
    background-color: transparent;
    padding: 0px;
    cursor: pointer;
}

    #match-specs tr td button i {
        color: deeppink;
    }

.full-grade {
    text-align: center;
    border-radius: 50%;
    height: 36px;
    width: 36px;
    color: #fff;
    padding-top: 7px;
    margin-top: 23px;
}

.potential-name {
    margin-bottom: 5px;
}

    .potential-name a {
        color: #4c4c50;
        font-size: 16px;
    }

    .potential-name .badge {
        display: inline-block;
        margin-left: 5px;
    }

.view-more-potential-info {
    font-size: 11px;
    display: block;
    text-align: center;
    padding: 5px 0px 0px;
    border-top: 1px solid #dee2e6;
    margin-top: 10px;
    color: #4c4c50;
    text-transform: uppercase;
}

.notes-table {
    margin-bottom: 0px;
}

    .notes-table td {
        border-top: 0px;
        padding: 0px;
    }

.note-img-container {
    margin-right: 15px;
}

    .note-img-container .note-img {
        border-radius: 50%;
        background-color: var(--ph-gold);
        width: 36px;
        height: 36px;
        text-align: center;
        color: #fff;
        font-size: 22px;
        font-weight: 400;
        font-family: Merienda-Bold;
        padding-top: 3px;
        margin-top: 5px;
    }

        .note-img-container .note-img.img-owner {
            background-color: var(--ph-gold-2);
        }

.alert-note {
    border-color: #eee;
    background-color: #f6f6f6;
    width: fit-content;
    margin-bottom: 0.25rem;
}

.note-detail-container {
    font-size: 10px;
    margin-bottom: 30px;
    color: #70737c;
}

    .note-detail-container .note-detail-item,
    .note-detail-container .note-detail-divider {
        float: left;
    }

    .note-detail-container .note-detail-divider {
        margin-left: 10px;
        margin-right: 10px;
    }

ul.top-alert-list {
    padding-left: 0px;
    list-style: none;
}

    ul.top-alert-list li {
        border-bottom: 1px solid #e9ecef;
    }

        ul.top-alert-list li:last-child {
            border-bottom: none;
        }

        ul.top-alert-list li a {
            font-size: 13px;
            line-height: 20px !important;
            padding: 6px 12px 0px;
            display: block;
            -webkit-transition: background-color 300ms linear;
            -ms-transition: background-color 300ms linear;
            transition: background-color 300ms linear;
        }

            ul.top-alert-list li a:hover,
            ul.top-alert-list li a:focus,
            ul.top-alert-list li a:active {
                text-decoration: none;
                background-color: #f2f2f2;
            }

            ul.top-alert-list li a .date {
                margin-top: 5px;
                text-align: right;
            }

                ul.top-alert-list li a .date small {
                    line-height: 13px;
                }

.page-top-bar {
    padding-bottom: 0px !important;
}

.assigned-match-maker {
    padding-top: 8px;
    padding-bottom: 0px;
    font-size: 14px;
}

.show-desktop {
    display: none;
    color: var(--ph-muted-strong); /* PH-313: was inherited #808080 (3.94:1); 6.3:1 on white */
}

.content {
    display: contents;
}

.sold-out {
    color: #fff;
    background-color: var(--ph-gold);
    border-radius: 30px;
    padding: 15px 25px;
    display: inline-block;
    position: absolute;
    top: -25px;
    margin-left: -58px;
}

.color-Pending {
    color: #ccc;
}

.color-Approved {
    color: #28a745;
}

.color-Rejected {
    color: #dc3545;
}

.color-Tentative {
    color: #c937cb;
}

.color-Charged {
    color: var(--ph-gold);
}

.color-Confirmed {
    color: #17a2b8;
}

.color-NoShow {
    color: #cc0000;
}

.color-Refunded {
    color: #000;
}

.color-Canceled {
    color: #6c757d;
}

.color-UserCancelled {
    color: #fd7e14;
}

#more {
    display: none;
}

.stick-parent {
    position: absolute;
    right: 15px;
    z-index: 10000;
    top: 15px;
}

#delete-all-form {
    width: 100%;
}

.position-sticky .stick-parent {
    right: 0px;
    top: 0px;
}

@media (min-width: 480px) {
    .navbar-nav .nav-item {
        padding-left: 15px;
    }
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }

    .show-desktop {
        display: inline-block;
    }
}

@media (min-width: 992px) {
    .row-5-columns .col-lg-2 {
        width: 33.3333%;
        max-width: 33.3333%;
        flex: 0 0 33.3333%;
    }
}

@media (min-width: 1200px) {
    .row-5-columns .col-lg-2 {
        width: 20%;
        max-width: 20%;
        flex: 0 0 20%;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1380px;
    }
}
/* ===== Charge Popup Modal ===== */

.charge-modal .modal-content {
    border-radius: 12px !important;
    border: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.charge-modal .modal-header {
    background: #f5f2ee;
    border-bottom: 1px solid #e5e2de;
    padding: 15px 20px;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.charge-modal .modal-title {
    font-weight: 600;
    color: #6d5845;
}

.charge-modal .modal-body {
    padding: 25px;
}

.charge-modal input.form-control {
    border-radius: 8px;
    border: 1px solid #d6cfc7;
}

.charge-modal .btn-charge {
    background: #6d5845;
    color: white;
    border-radius: 8px;
    padding: 10px 18px;
    border: none;
}

    .charge-modal .btn-charge:hover {
        background: #5a4737;
    }

/* ===== Improve Registration Checkbox Style ===== */
.big-checkbox {
    width: 22px !important;
    height: 22px !important;
    cursor: pointer;
    accent-color: #c6a25c; /* Gold color matches theme */
    transform: scale(1.2);
}

    /* Hover effect */
    .big-checkbox:hover {
        box-shadow: 0 0 6px rgba(198, 162, 92, 0.7);
    }

/* Align checkbox center */
table td input.big-checkbox {
    display: block;
    margin: auto;
}

.btn-delete-entry:hover {
    background-color: #e9606d;
    border-color: #e9606d;
}

.note-editor.note-frame {
    width: 100%;
}

.note-popover {
    display: none !important;
}
/* Background UI - Modern Tree Design with Tags */
.bg-selection-container {
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.bg-trigger {
    padding: 10px 15px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    min-height: 45px;
}

.selected-items-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    flex: 1;
}

.selection-pill {
    background-color: #28a745;
    color: white;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.placeholder-text {
    color: #6c757d;
    font-size: 0.9rem;
}

.bg-tree-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    display: none;
}

.bg-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    padding: 2px 2px 10px;
    border-bottom: 1px solid #f0eadf;
    margin-bottom: 8px;
}

.bg-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

    .bg-action-btn i {
        font-size: 13px;
    }

.bg-action-btn-primary {
    background: var(--ph-gold-2);
    border-color: var(--ph-gold-2);
    color: #fff;
    box-shadow: 0 2px 6px rgba(192, 160, 98, 0.22);
}

    .bg-action-btn-primary:hover {
        background: #aa8848;
        border-color: #aa8848;
        color: #fff;
    }

.bg-action-btn-secondary {
    background: #fff;
    border-color: #dfd2bb;
    color: #7b6846;
}

    .bg-action-btn-secondary:hover {
        background: #f8f3ea;
        border-color: var(--ph-gold-2);
        color: #5f451d;
    }

.region-group {
    margin-bottom: 5px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.region-header {
    padding: 8px 12px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
    font-size: 0.95rem;
    transition: background 0.2s;
}

    .region-header:hover {
        background: #f0f7ff;
    }

.region-body {
    display: none;
    padding: 10px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    border-top: 1px solid #f0f0f0;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #fdfdfd;
    border: 1px solid #f1f1f1;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 0;
}

    .custom-checkbox:hover {
        background: #eef7ff;
        border-color: #d0e5ff;
    }

/* ==========================================================================
   Figma Mockup Redesign Styles (Mobile & Desktop)
   ========================================================================== */

/* Navbar & Logo Styling Updates */
.navbar-container-custom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
}

.ph-navbar-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.ph-central-hamburger {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--ph-gold-2);
    cursor: pointer;
    padding: 8px;
}

.ph-navbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Cancel Impersonation button - shared so it looks the same in every layout
   (central layout pages don't load user-dashboard.css, where this used to live) */
.ph-user-topbar__impersonation-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.08);
    color: #b02a37;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

    .ph-user-topbar__impersonation-btn:hover,
    .ph-user-topbar__impersonation-btn:focus {
        background: rgba(220, 53, 69, 0.16);
        border-color: rgba(176, 42, 55, 0.6);
        color: #8f2230;
        text-decoration: none;
    }

    .ph-user-topbar__impersonation-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
    }

.ph-user-topbar__impersonation-btn-icon {
    font-size: 0.85rem;
    line-height: 1;
}

/* ===== Profile report buckets (Expired / Active) - Figma redesign ===== */
.ph-profiles-report {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    margin: 1.5rem 0;
}

.ph-ep-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 16px 18px;
    overflow-x: auto;
}

.ph-ep-search {
    position: relative;
    flex: 1 1 200px;
    min-width: 150px;
}

.ph-ep-search .fa {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ph-muted);
}

.ph-ep-search input {
    width: 100%;
    height: 44px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 0 14px 0 42px;
    font-size: 14px;
    color: #3a3f45;
    outline: none;
    background: #fff;
}

.ph-ep-search input:focus {
    border-color: var(--ph-gold);
    box-shadow: 0 0 0 3px rgba(204, 157, 80, 0.12);
}

.ph-ep-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ph-ep-select {
    height: 44px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 0 36px 0 14px;
    font-size: 14px;
    color: #3a3f45;
    background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'10'%20height%3D'6'%3E%3Cpath%20fill%3D'%239aa0a6'%20d%3D'M0%200l5%206%205-6z'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}

.ph-ep-select:focus {
    border-color: var(--ph-gold);
}

.ph-ep-inline-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

/* Below lg (992px): keep Search + Filters button on one row and move the
   default filters into the (collapsible) Filters panel, stacked full-width. */
@media (max-width: 991.98px) {
    .ph-ep-toolbar {
        flex-wrap: nowrap;
    }

    .ph-ep-search {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ph-ep-filterbtn {
        flex: 0 0 auto;
    }

    .ph-ep-filterpanel .ph-ep-inline-filters {
        display: flex;
        flex-direction: column;
        /* Override the toolbar rule's align-items:center + gap:10px so the moved-in
           fields match the regular drawer fields: left-aligned, 6px label->input,
           14px between fields. margin-bottom:0 lets the grid gap (14px) handle the
           gap to the next field instead of stacking on top of it. */
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin-bottom: 0;
    }

    .ph-ep-filterpanel .ph-ep-inline-filters .ph-ep-select {
        width: 100%;
        margin-bottom: 14px;
    }

        .ph-ep-filterpanel .ph-ep-inline-filters .ph-ep-select:last-child {
            margin-bottom: 0;
        }

    /* Labels for the moved-in inline dropdowns — shown only inside the drawer */
    .ph-ep-filterpanel .ph-ep-inline-label {
        display: block;
        font-size: 12px;
        font-weight: 500;
        color: var(--ph-muted-soft);
        margin: 0 0 6px;
    }
}

/* Inline dropdown labels are hidden on the toolbar; the drawer rule above shows them. */
.ph-ep-inline-label {
    display: none;
}

.ph-ep-filterbtn {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    background: #fff;
    color: #3a3f45;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.ph-ep-filterbtn:hover,
.ph-ep-filterbtn.active {
    border-color: var(--ph-gold);
    color: var(--ph-gold);
}

.ph-ep-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--ph-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

/* Filters slide out from the right as a drawer (consistent across all report grids). */
.ph-ep-filterpanel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 360px;
    max-width: 92vw;
    background: #fff;
    box-shadow: -6px 0 28px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ph-ep-filterpanel.open {
    transform: translateX(0);
}

.ph-ep-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 1059;
}

.ph-ep-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.ph-ep-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eef0f2;
    flex: 0 0 auto;
}

.ph-ep-drawer-head span {
    font-weight: 600;
}

.ph-ep-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
}

.ph-ep-filtergrid {
    display: grid;
    /* minmax(0, 1fr) lets the column shrink below a select's intrinsic width;
       plain 1fr (= minmax(auto, 1fr)) would overflow and add a horizontal scrollbar. */
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1 1 auto;
    /* Pack fields at the top; without this the grid (flex:1 in a tall drawer)
       stretches its rows to fill the column, spreading the inputs apart. */
    align-content: start;
}

.ph-ep-field--wide {
    grid-column: auto;
}

.ph-ep-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ph-ep-field label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ph-muted-soft);
    margin: 0;
}

.ph-ep-field .ph-ep-select,
.ph-ep-field .ph-ep-input {
    width: 100%;
}

.ph-ep-input {
    height: 44px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    color: #3a3f45;
    background: #fff;
    outline: none;
}

.ph-ep-input:focus {
    border-color: var(--ph-gold);
    box-shadow: 0 0 0 3px rgba(204, 157, 80, 0.12);
}

.ph-ep-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-ep-range input {
    width: 100%;
    min-width: 0;
}

.ph-ep-range span {
    color: var(--ph-muted);
}

.ph-ep-filteractions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    padding: 14px 18px;
    border-top: 1px solid #eef0f2;
    background: #fff;
}

/* PH-305: saved views + shareable link */
.ph-ep-presets {
    flex: 0 0 auto;
    padding: 14px 18px;
    border-top: 1px solid #eef0f2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ph-ep-presets-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .ph-ep-presets-row #ph-ep-presets {
        flex: 1 1 auto;
        min-width: 0;
    }

.ph-ep-presetbtn {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    background: #fff;
    color: #3a3f45;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .ph-ep-presetbtn:hover {
        background: #f6f7f9;
        border-color: #d7dadf;
    }

    .ph-ep-presetbtn--icon {
        flex: 0 0 auto;
        padding: 0 10px;
    }

.ph-ep-apply,
.ph-ep-clear {
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ph-ep-apply {
    background: var(--ph-gold);
    border: 1px solid var(--ph-gold);
    color: #fff;
}

.ph-ep-apply:hover {
    background: #b98c41;
    border-color: #b98c41;
}

.ph-ep-clear {
    background: #fff;
    border: 1px solid #e6e8eb;
    color: #5f646b;
}

.ph-ep-clear:hover {
    background: #f6f7f9;
}

/* PH: tabbed filter drawer (Filters | Saved Filters) for the Profiles grid */
.ph-ep-drawer-tabs {
    display: flex;
    align-items: center;
}

.ph-ep-drawer-tab {
    background: none;
    border: none;
    padding: 2px 0;
    margin-right: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ph-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    line-height: 1.7;
}

    .ph-ep-drawer-tab:hover {
        color: var(--ph-muted-strong);
    }

    .ph-ep-drawer-tab.active {
        color: var(--ph-gold-dark);
        border-bottom-color: var(--ph-gold);
    }

/* Saved-filter list (visible only when the Saved Filters tab is active) */
.ph-ep-savedlist {
    display: none;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px;
    flex-direction: column;
    gap: 8px;
}

.ph-ep-filterpanel[data-tab="saved"] .ph-ep-filtergrid {
    display: none;
}

.ph-ep-filterpanel[data-tab="saved"] .ph-ep-savedlist {
    display: flex;
}

.ph-ep-filterpanel[data-tab="saved"] .ph-ep-filteractions {
    display: none;
}

.ph-ep-saveditem {
    display: flex;
    align-items: stretch;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    overflow: hidden;
}

    .ph-ep-saveditem:hover {
        border-color: #d7dadf;
    }

.ph-ep-saveditem__name {
    flex: 1 1 auto;
    text-align: left;
    background: none;
    border: none;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #3a3f45;
    cursor: pointer;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .ph-ep-saveditem__name:hover {
        color: var(--ph-gold-dark);
        background: var(--ph-cream);
    }

.ph-ep-saveditem__del {
    flex: 0 0 auto;
    background: none;
    border: none;
    border-left: 1px solid #eef0f2;
    color: var(--ph-muted);
    padding: 0 14px;
    cursor: pointer;
}

    .ph-ep-saveditem__del:hover {
        color: #b3261e;
        background: #fbf0ef;
    }

.ph-ep-savedempty {
    color: var(--ph-muted);
    font-size: 13px;
    text-align: center;
    padding: 32px 18px;
    line-height: 1.6;
}

/* Footer: Save/Copy icons on the left, Clear/Apply on the right */
.ph-ep-actions-spacer {
    flex: 1 1 auto;
}

/* The Save-filter modal opens from inside the filter drawer (z-index 1060),
   so it must stack above it. */
#ph-ep-save-filter-modal {
    z-index: 1080;
}

.ph-ep-table-wrap {
    overflow-x: auto;
    border-top: 1px solid #eef0f2;
    position: relative;
    min-height: 160px;
    /* Contain the frozen-column z-index so it can't paint over the fixed footer */
    isolation: isolate;
}

/* An open per-row actions menu must escape the horizontal-scroll container,
   otherwise the dropdown is clipped and hides under the table footer. */
.ph-ep-table-wrap.has-menu-open {
    overflow: visible;
}

.ph-ep-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 15;
    align-items: center;
    justify-content: center;
}

.ph-ep-loading.show {
    display: flex;
}

.ph-ep-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e6e8eb;
    border-top-color: var(--ph-gold);
    border-radius: 50%;
    animation: ph-ep-spin 0.7s linear infinite;
}

@keyframes ph-ep-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Expired-list delete modal: permanent-delete warning + per-profile progress list. */
.ph-ep-delete-warning {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ph-ep-delete-progress {
    max-height: 260px;
    overflow-y: auto;
    margin-top: 4px;
}

.ph-ep-delete-count {
    font-size: 12px;
    font-weight: 600;
    color: #5f5e5a;
    margin-bottom: 8px;
}

.ph-ep-delete-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid #f1f3f5;
}

    .ph-ep-delete-item:last-child {
        border-bottom: none;
    }

    .ph-ep-delete-item.is-active {
        color: #5f5e5a;
    }

    .ph-ep-delete-item.is-ok {
        color: #3f7d52;
    }

    .ph-ep-delete-item.is-fail {
        color: #b23b3b;
    }

.ph-ep-di-spin {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border: 2px solid #e6e8eb;
    border-top-color: var(--ph-gold);
    border-radius: 50%;
    animation: ph-ep-spin 0.7s linear infinite;
}

.ph-ep-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.ph-ep-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-weight: 500;
    color: var(--ph-muted);
    white-space: nowrap;
    border-bottom: 1px solid #eef0f2;
}

.ph-ep-table tbody td {
    padding: 6px 16px;
    border-bottom: 1px solid #f2f4f6;
    color: #3a3f45;
    vertical-align: middle;
}

/* PH-306: compact row density (toggled per-user) */
.ph-ep-table--compact tbody td,
.ph-ep-table--compact thead th {
    padding-top: 2px;
    padding-bottom: 2px;
}

.ph-ep-table--compact .ph-ep-sub {
    display: none; /* drop the secondary sub-line for a denser view */
}

/* PH-306: column show/hide menu */
.ph-dt-colmenu-wrap {
    position: relative;
    display: inline-block;
}

.ph-ep-colmenu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
}

.ph-ep-colmenu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #3a3f45;
}

    .ph-ep-colmenu-item:hover {
        background: #f6f7f9;
    }

    .ph-ep-colmenu-item input {
        margin: 0;
    }

.ph-ep-table tbody tr:hover {
    background: #fafbfc;
}

.ph-ep-table th.ph-ep-check,
.ph-ep-table td.ph-ep-check {
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    padding-left: 14px;
    padding-right: 6px;
    text-align: center;
}

/* Responsive: freeze the first column(s), scroll the rest (PH-242) */
.ph-ep-table td.ph-ep-check,
.ph-ep-table th.ph-ep-check,
.ph-ep-col-profile {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
}

.ph-ep-col-profile {
    min-width: 200px;
    border-right: 1px solid #eef0f2;
}

.ph-ep-table.has-check .ph-ep-col-profile {
    left: 48px;
}

.ph-ep-table thead th.ph-ep-check,
.ph-ep-table thead th.ph-ep-col-profile {
    z-index: 3;
}

.ph-ep-table tbody tr:hover td.ph-ep-check,
.ph-ep-table tbody tr:hover .ph-ep-col-profile {
    background: #fafbfc;
}

.ph-ep-sortable,
.ph-ep-sortmenu {
    cursor: pointer;
    user-select: none;
}

.ph-ep-sort::after {
    content: "\2195";
    margin-left: 4px;
    color: #c2c6cc;
    font-size: 12px;
}

.ph-ep-sortable.sorted-asc .ph-ep-sort::after,
.ph-ep-sortmenu.sorted-asc .ph-ep-sort::after {
    content: "\2191";
    color: var(--ph-gold);
}

.ph-ep-sortable.sorted-desc .ph-ep-sort::after,
.ph-ep-sortmenu.sorted-desc .ph-ep-sort::after {
    content: "\2193";
    color: var(--ph-gold);
}

.ph-ep-sortmenu {
    position: relative;
    white-space: nowrap;
}

.ph-ep-sortmenu-opts {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #eceef0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 25;
    min-width: 170px;
}

.ph-ep-sortmenu.menu-open .ph-ep-sortmenu-opts {
    display: block;
}

.ph-ep-sortmenu-opts button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 400;
    color: #3a3f45;
    cursor: pointer;
    border-radius: 6px;
}

.ph-ep-sortmenu-opts button:hover {
    background: #f6f7f9;
}

.ph-ep-sortmenu-opts button.active {
    color: var(--ph-gold);
    font-weight: 500;
}

.ph-ep-sortmenu.sorted-asc .ph-ep-sortmenu-opts button.active::after {
    content: "\2191";
    float: right;
}

.ph-ep-sortmenu.sorted-desc .ph-ep-sortmenu-opts button.active::after {
    content: "\2193";
    float: right;
}

.ph-ep-name {
    font-weight: 600;
    color: #2b2f36;
}

.ph-ep-name a {
    color: #2b2f36;
    text-decoration: none;
}

.ph-ep-name a:hover {
    color: var(--ph-gold);
}

/* Profile-column links match the name styling (dark, not default blue) even when
   the cell holds a bare <a> without a .ph-ep-name wrapper (Events, report tables). */
.ph-ep-col-profile a {
    color: #2b2f36;
    text-decoration: none;
}

.ph-ep-col-profile a:hover {
    color: var(--ph-gold);
}

.ph-ep-sub {
    color: var(--ph-muted);
    font-size: 13px;
    margin-top: 3px;
}

.ph-ep-sub .fa,
.ph-ep-contact .fa {
    color: var(--ph-gold);
    margin-right: 5px;
}

.ph-ep-sub.ph-ep-gender-male,
.ph-ep-sub.ph-ep-gender-male .fa {
    color: #1565c0; /* PH-312: darker blue, 5.7:1 on white (was #2f80ed, 3.9:1) */
}

.ph-ep-sub.ph-ep-gender-female,
.ph-ep-sub.ph-ep-gender-female .fa {
    color: #c2185b; /* PH-312: darker pink, 5.8:1 on white (was #e84f9c, 3.5:1) */
}

.ph-ep-contact {
    color: var(--ph-muted-soft);
    font-size: 13px;
    white-space: nowrap;
}

.ph-ep-contact + .ph-ep-contact {
    margin-top: 4px;
}

.ph-ep-contact a {
    color: var(--ph-muted-soft);
    text-decoration: none;
}

.ph-ep-contact a:hover {
    color: var(--ph-gold);
    text-decoration: underline;
}

.ph-ep-subrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.ph-ep-subrow .ph-ep-sub {
    margin-top: 0;
}

.ph-ep-contacts {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ph-ep-iconbtn {
    background: transparent;
    border: 1px solid #eceef0;
    color: var(--ph-gold);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 0;
}

.ph-ep-iconbtn:hover {
    background: #faf6ee;
    border-color: #e6d6b3;
}

.ph-ep-iconbtn.copied {
    color: #2e9b5b;
    border-color: #bfe3cc;
    background: #eef9f1;
}

/* Per-row "Resend verification email" action (Not Verified Emails report). */
.ph-ep-col-actions {
    white-space: nowrap;
    text-align: right;
}

.ph-ep-resend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--ph-gold);
    border-radius: 8px;
    background: transparent;
    color: var(--ph-gold-dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.ph-ep-resend:hover {
    background: var(--ph-gold);
    color: #fff;
    border-color: var(--ph-gold);
}

.ph-ep-resend:disabled {
    opacity: .6;
    cursor: default;
}

/* Bold primary column for the reusable data table (DataTableColumn.Bold). */
.ph-ep-table td.ph-dt-bold,
.ph-ep-table td.ph-dt-bold a {
    font-weight: 600;
}

.ph-ep-backgrounds {
    color: var(--ph-muted);
    font-size: 13px;
    margin-top: 3px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.ph-ep-strong {
    font-weight: 500;
    color: #3a3f45;
}

.ph-ep-date {
    font-size: 13px;
    white-space: nowrap;
}

.ph-ep-date + .ph-ep-date {
    margin-top: 4px;
}

.ph-ep-date.joined .fa,
.ph-ep-date.started .fa {
    color: var(--ph-muted);
    margin-right: 5px;
}

.ph-ep-date.approved .fa {
    color: #2f80ed;
    margin-right: 5px;
}

.ph-ep-date.paid .fa {
    color: #2e9b5b;
    margin-right: 5px;
}

.ph-ep-date.expires .fa {
    color: #d9534f;
    margin-right: 5px;
}

.ph-ep-action {
    text-align: center;
    position: relative;
}

.ph-ep-kebab {
    position: relative;
    display: inline-block;
}

.ph-ep-kebab-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--ph-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.ph-ep-kebab-btn:hover {
    background: #f1f3f5;
    color: #3a3f45;
}

.ph-ep-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 168px;
    background: #fff;
    border: 1px solid #eceef0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 20;
}

.ph-ep-kebab.open .ph-ep-menu {
    display: block;
}

.ph-ep-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    font-size: 13px;
    color: #3a3f45;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
}

.ph-ep-menu a:hover {
    background: #f6f7f9;
}

.ph-ep-menu a .fa {
    color: var(--ph-muted);
    width: 14px;
}

.ph-ep-menu a.danger {
    color: #d9534f;
}

.ph-ep-menu a.danger .fa {
    color: #d9534f;
}

.ph-ep-empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--ph-muted);
    font-size: 14px;
}

.ph-ep-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 18px;
}

.ph-ep-summary {
    color: var(--ph-muted);
    font-size: 13px;
}

.ph-ep-delete-selected {
    background: #fff;
    border: 1px solid rgba(217, 83, 79, 0.5);
    color: #d9534f;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.ph-ep-delete-selected:hover:not([disabled]) {
    background: rgba(217, 83, 79, 0.08);
}

.ph-ep-delete-selected[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.ph-ep-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.ph-ep-pagesize {
    height: 40px;
}

.ph-ep-page-nav,
.ph-ep-page {
    min-width: 38px;
    height: 38px;
    border: 1px solid #e6e8eb;
    background: #fff;
    border-radius: 8px;
    color: #5f646b;
    cursor: pointer;
    font-size: 14px;
}

.ph-ep-page-nav:hover:not([disabled]),
.ph-ep-page:hover {
    background: #f6f7f9;
}

.ph-ep-page-nav[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.ph-ep-page.active {
    background: var(--ph-gold);
    border-color: var(--ph-gold);
    color: #fff;
}

.ph-ep-pages {
    display: inline-flex;
    gap: 6px;
}

.ph-navbar-always-visible {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    margin-left: 15px;
}

    .ph-navbar-always-visible .nav-item {
        padding-left: 10px !important;
    }

    .ph-navbar-always-visible .nav-link {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ph-navbar-always-visible .profile-icon {
        margin: 0 !important;
        width: 38px;
        height: 38px;
        line-height: 38px;
        border-radius: 50%;
        background-color: var(--ph-gold);
        color: #fff;
        font-size: 18px;
        text-align: center;
        font-family: Merienda-Bold;
    }

/* Collapsible navigation menu for mobile */
@media (max-width: 991px) {
    .navbar-container-custom {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand-custom {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .collapse-custom {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        z-index: 10;
        padding: 10px 20px;
    }

        .collapse-custom.show {
            display: block !important;
        }

        .collapse-custom .navbar-nav {
            flex-direction: column !important;
            width: 100%;
        }

        .collapse-custom .nav-item-collapsible {
            padding: 10px 0 !important;
            border-bottom: 1px solid #f6f6f6;
        }

            .collapse-custom .nav-item-collapsible:last-child {
                border-bottom: none;
            }

        .collapse-custom .nav-link {
            display: flex !important;
            align-items: center;
            color: #4c4c50 !important;
            text-decoration: none;
            border: none !important;
        }

            .collapse-custom .nav-link i {
                font-size: 20px;
                width: 30px;
                text-align: center;
                color: var(--ph-gold-2) !important;
                margin-right: 10px;
            }

        .collapse-custom .nav-link-text {
            font-weight: 500;
        }

        .collapse-custom .rounded-circle {
            border: none !important;
            border-radius: 0 !important;
            width: auto !important;
            height: auto !important;
            line-height: inherit !important;
        }
}

/* Page Header & Actions Strip (Mockup Style) */
.page-header {
    background-color: #f6f6f6 !important; /* match body */
    padding: 24px 15px 0px !important;
}

    .page-header .page-title {
        color: #3e3d3a !important; /* dark title on light header */
        font-family: "Poppins", sans-serif !important;
        font-weight: 700;
        font-size: 24px !important;
        text-shadow: none !important;
        margin-bottom: 0;
        margin-top: 0; /* symmetric so it centers cleanly against the action buttons */
    }

    /* Actions Dropdown styling */
    .page-header .btn-secondary.dropdown-toggle {
        background-color: var(--ph-gold) !important;
        border-color: var(--ph-gold) !important;
        color: #fff !important;
        border-radius: 20px !important; /* pill shape */
        padding: 8px 24px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.2s ease !important;
    }

        .page-header .btn-secondary.dropdown-toggle:hover,
        .page-header .btn-secondary.dropdown-toggle:focus {
            background-color: var(--ph-gold-dark) !important;
            border-color: var(--ph-gold-dark) !important;
        }

/* Consistent header rhythm across every layout: title and action buttons sit on
   one centered row, and wrap cleanly (actions drop below the title) when the row
   is too narrow. Replaces the float-based layout at all widths. */
.page-header .col-md-12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    /* Reserve the action-button height so the header is the same height and the
       title sits at the same spot whether or not a page has action buttons. */
    min-height: 38px;
}

.page-header .pull-left,
.page-header .pull-right {
    float: none !important;
}

/* Tab pills navigation bar */
.page-menu {
    background-color: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin-top: 24px !important;
    margin-bottom: 16px !important;
}

    .page-menu .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding-bottom: 5px;
        gap: 10px;
    }

        /* Hide scrollbar for Chrome, Safari and Opera */
        .page-menu .navbar-nav::-webkit-scrollbar {
            display: none;
        }

    /* Hide scrollbar for IE, Edge and Firefox */
    .page-menu .navbar-nav {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

        .page-menu .navbar-nav .nav-item {
            flex: 0 0 auto !important;
            padding: 0 !important;
        }

            .page-menu .navbar-nav .nav-item > a {
                display: inline-flex !important;
                align-items: center;
                padding: 8px 18px !important;
                border-radius: 20px !important;
                font-weight: 500 !important;
                font-size: 14px !important;
                background-color: transparent !important;
                color: #495057 !important;
                transition: all 0.2s ease !important;
                border: none !important;
                line-height: 1.4 !important;
            }

                .page-menu .navbar-nav .nav-item > a i {
                    margin-right: 6px;
                    font-size: 14px;
                }

                .page-menu .navbar-nav .nav-item > a.active {
                    background-color: var(--ph-gold) !important;
                    color: #ffffff !important;
                    box-shadow: 0 2px 6px rgba(204, 157, 80, 0.2) !important;
                }

                    .page-menu .navbar-nav .nav-item > a.active i {
                        color: #ffffff;
                    }

                .page-menu .navbar-nav .nav-item > a:hover:not(.active) {
                    background-color: #e9ecef !important;
                    text-decoration: none;
                }

/* On mobile the section menu stays visible as a single horizontally-scrollable
   row of tabs (like the profile "edit" steps) — no hamburger, no wrapping. */
@media (max-width: 991px) {
    /* Single scrollable row of tabs (Packages/Events/... and Candidate tabs) */
    .page-menu .navbar-nav {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
        float: none !important; /* override .pull-left on the Candidate tabs */
        width: 100%;
        max-width: 100%;
    }

    /* Candidate layout: let the "Assigned Match Maker" block stack below the tabs */
    .page-menu .pull-right {
        float: none !important;
        margin-top: 8px;
    }
}

/* Modern Card/Section styles */
.account-settings-section {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important; /* rounder corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    padding: 30px !important;
    margin-bottom: 24px !important;
}

    .account-settings-section .account-title h4,
    .account-title h4 {
        font-family: "Poppins", sans-serif !important;
        font-size: 20px !important;
        color: #101828 !important; /* Dark gray */
        font-weight: 700;
        text-shadow: none !important;
        border-bottom: 1px solid #f1f3f5 !important;
        padding-bottom: 15px !important;
        margin-bottom: 0px !important;
        text-align: center !important;
    }

    .account-settings-section .control-label {
        font-family: "Poppins", sans-serif;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #344054 !important; /* Dark slate label color like Figma */
        margin-bottom: 8px !important;
    }

    /* Modern Input Styles */
    .account-settings-section .form-control {
        height: 48px !important;
        border-radius: 12px !important; /* Rounder inputs */
        border: 1px solid #d0d5dd !important; /* Figma light grey border */
        padding: 10px 16px !important;
        font-size: 15px !important;
        font-family: "Poppins", sans-serif;
        color: #333333 !important;
        background-color: #fdfdfd !important;
        transition: all 0.2s ease-in-out !important;
        box-shadow: none !important;
    }

        .account-settings-section .form-control:focus {
            border-color: var(--ph-gold) !important;
            background-color: #ffffff !important;
            box-shadow: 0 0 0 4px rgba(204, 157, 80, 0.1) !important;
            outline: none !important;
        }

        .account-settings-section .form-control::placeholder {
            color: #98a2b3 !important; /* Figma light grey placeholder */
            font-size: 14px;
        }

/* Password eye-toggle button styles */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

    .password-input-wrapper .form-control {
        padding-right: 48px !important; /* Space for the button */
    }

.toggle-password-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    background: transparent;
    border: none;
    color: #98a2b3; /* Figma style outline eye color */
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    outline: none !important;
}

    .toggle-password-btn:hover {
        color: var(--ph-gold);
    }

/* Button stylings */
.account-settings-section .account-footer .btn-primary,
.account-settings-section .btn-primary {
    background-color: var(--ph-gold) !important;
    border-color: var(--ph-gold) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    height: 48px !important;
    padding: 10px 30px !important;
    box-shadow: 0 4px 10px rgba(204, 157, 80, 0.15) !important;
    transition: all 0.2s ease !important;
}

    .account-settings-section .account-footer .btn-primary:hover,
    .account-settings-section .btn-primary:hover {
        background-color: var(--ph-gold-dark) !important;
        border-color: var(--ph-gold-dark) !important;
        box-shadow: 0 6px 12px rgba(204, 157, 80, 0.25) !important;
    }

@media (max-width: 991px) {
    .ph-navbar-always-visible .profile-name {
        display: none !important;
    }

    .ph-navbar-always-visible .rounded-circle {
        border: none !important;
        background: transparent !important;
    }
}

@media (max-width: 400px) {
    .ph-navbar-logo {
        height: 30px !important;
    }
}

@media (max-width: 767px) {
    .account-settings-section {
        border-radius: 12px !important;
        padding: 20px 16px !important;
        margin-bottom: 16px !important;
    }

        .account-settings-section .control-label {
            font-size: 13px !important;
        }
}

/* ============================================================
   PH-300 (F9): Contain off-canvas drawer overflow
   The report filter drawer (.ph-ep-filterpanel) is position:fixed and parked
   off the right edge via translateX(100%); a fixed element beyond the viewport
   still extends the document's scrollable width, so narrow screens scroll the
   whole page sideways. Clip horizontal overflow at the root. `clip` (not
   `hidden`) avoids creating a scroll container, so the table's own
   overflow-x:auto, position:sticky frozen column, and vertical scroll are all
   unaffected. The table itself already scrolls inside .ph-ep-table-wrap. */
html,
body {
    overflow-x: clip;
}

/* ============================================================
   PH-309: toast notifications */
.ph-toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.ph-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-left: 4px solid var(--ph-muted);
    color: #2b2f36;
    font-size: 14px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .25s ease, transform .25s ease;
}

    .ph-toast.show {
        opacity: 1;
        transform: none;
    }

.ph-toast--success { border-left-color: #2e7d32; }
.ph-toast--error { border-left-color: #c0392b; }
.ph-toast--info { border-left-color: #2b6cb0; }

.ph-toast__msg { flex: 1; }

.ph-toast__close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #9aa0a6;
    cursor: pointer;
    padding: 0;
}

/* ============================================================
   PH-292 (F1): Visible keyboard focus indicator
   Vendor resets (bootstrap, DataTables) and a few component rules clear
   `outline`, leaving keyboard users with no visible focus. Restore a clear,
   high-contrast ring for keyboard navigation only (:focus-visible) so mouse
   and touch interactions stay visually unchanged. The element+pseudo
   selectors below outrank single-class `outline:none !important` base resets,
   so the ring wins regardless of stylesheet load order. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible,
.ph-ep-table th.ph-ep-sortable:focus-visible,
.ph-ep-table th.ph-ep-sortmenu:focus-visible {
    outline: 2px solid #2b6cb0 !important;
    outline-offset: 2px !important;
    border-radius: 3px;
}

/* Give native <select> the same branded ring the text inputs already use,
   so keyboard focus on filters is unmistakable (it previously only nudged
   the border colour). */
.ph-ep-select:focus-visible {
    border-color: var(--ph-gold);
    box-shadow: 0 0 0 3px rgba(204, 157, 80, 0.12);
}

/* ============================================================
   Profile review: highlight what changed since last approval
   ============================================================ */
.ph-changed-badge {
    background-color: var(--ph-gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.ph-changes-banner {
    background: var(--ph-cream);
    border: 1px solid var(--ph-gold);
    color: #4c4c50;
    border-radius: 8px;
}

/* "Previously approved" block shown under a changed section. */
.ph-prev-approved {
    margin-top: 12px;
    padding: 10px 14px;
    background: #faf9f6;
    border-left: 3px solid var(--ph-gold);
    border-radius: 0 6px 6px 0;
}

    .ph-prev-approved__label {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--ph-muted-strong);
        margin-bottom: 8px;
    }

    /* Dim the old values so the current (above) reads as primary. */
    .ph-prev-approved .row,
    .ph-prev-approved p {
        opacity: .85;
    }

/* Field-level highlight: the specific rows within a changed section whose value differs
   from the last approval (applied client-side by matching current vs previous rows). */
.ph-field-changed {
    background: #fdf7ec;
    box-shadow: inset 3px 0 0 var(--ph-gold);
    border-radius: 3px;
}

    .ph-field-changed .control-label {
        color: var(--ph-gold-dark);
        font-weight: 600;
    }
