/* #region Root */
/* ===================================================== */
 
/* Fonts */
/* ------------------------------------------------- */
 
/* Global Colors */
/* ------------------------------------------------- */
 
:root {
    /*Updated Mockup colors -09/22/2025  */
    --default-color: #003087;
    --font-color: #1b1b1b;
    --font-color-2: #595c5f;
    --h5-font-color:#495057;
    --hover-color-1: #FFC72C;
    --row-hover-color:#e9f5f9;
    --accent-color: #81CDE9;
    --bs-primary-rgb: 0, 48, 135;
    --bs-secondary-color: #6c757d;
    --bs-bg-3: #e9ecef;
    --bs-btn-msteams-bg:#003087;
    --bs-btn-msteams-hover-bg:#FFC72C;
}

body {
    background-color: #f5f6fa;
    font-family: var(--bs-body-font-family) !important;
    color: #000000;
}
 
h1, .h1, h2, .h2, h3, .h3 {
    color: #212529 !important;
}

p,
.p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p,
p.form-text span {
  font-family: inherit !important;
}

/* #endregion */
 
/* #region General */
/* ===================================================== */
 
@media (min-width: 1200px) {
    .h3, h3 {
        font-size: 1.75rem;
    }
}
 
/* #endregion */
 
/* #region Header */
/* ===================================================== */
.header {
    margin: 0;
    height: 90px;
}
 
/* Brand / Logo */
/* ------------------------------------------------- */
.navbar-brand .logo {
    height: 60px;
    width: 100%;
    margin-right: 10px;
}
 
.navbar-brand h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}
 
.navbar-brand h1 span {
    color: var(--default-color);
}
 
/* Navbar */
/* ------------------------------------------------- */
.navbar {
    min-height: 90px;
}
 
.navbar-nav .dropdown-menu {
    width: 290px;
}
 
.dropdown-toggle-caret-disable.dropdown-toggle:after {
    display: none
}
 
.nav-link {
    margin-left: 10px !important;
    margin-right: 10px;
}

i.fa-solid.fa-circle-user {
    margin-top: -8px;
}
.navbar li{
    border-left: 2px solid #fff;
}
.navbar li:first-child{
    border-left: 0px;
}
.nav-link i {
    color: var(--bs-white);
    font-size: 28px;
}

.nav-link:focus, .nav-link:hover{
    color: #323130 !important;
}

.dropdown-menu > li > a{
    padding: 5px 20px !important;
}
 .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    text-decoration: none !important;
    background-color: #dee2e6 !important;
    color: #212529 !important;
    padding: 5px 20px !important;
}
/* Profile */
/* ----------------------------------------------------- */

 
.profile-circle {
    display: inline-block;
    background-color: var(--portalThemeColor1);
    height: 50px;
    width: 50px;
    border-radius: 50%;
}
 
.profile-circle-inner {
    color: var(--portalThemeColor3);
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    height: 50px;
    width: 50px;
    font-size: 20px;
}
 
/* Breadcrumb styling */
/* .breadcrumb{display:flex;flex-wrap:wrap;padding:0;margin-bottom:1rem;list-style:none;background:transparent;font-size:.9rem}
.breadcrumb-item + .breadcrumb-item::before{content:"/";color:#6c757d;padding:0 8px;font-weight:bold}
.breadcrumb-item a{color:#0d6efd;text-decoration:none;font-weight:500}
.breadcrumb-item a:hover{text-decoration:underline}
.breadcrumb-item.active{color:#6c757d;font-weight:500} */
/* Breadcrumb styling (aligned with Bootstrap mockup) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 1rem;
  list-style: none;
  background: transparent;
  font-size: 1rem !important;
}
 
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--bs-breadcrumb-divider-color, #6c757d) !important;
  padding: 0 8px !important;
  font-weight: bold !important;
}
 
.breadcrumb-item a.link-primary {
  color: var(--default-color) !important;
  font-weight: 400 !important;
}

.breadcrumb-item a.link-primary:hover {
  color: var(--font-color) !important;
  text-decoration: none !important;
}
 
.breadcrumb-item.active {
  color: var(--bs-breadcrumb-item-active-color, #6c757d) !important;
  font-weight: 400 !important;
}
 
/* Prevent global a, .a styles from overwriting breadcrumb links */
.breadcrumb a {
  color: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}
 
.case-header-cards{
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-end;
    max-width: 100%;
}

.case-header-card {
    background: #f8f9fa;
    padding: 0px 15px;
    border-right: 4px solid var(--default-color);
    flex-shrink: 0;
    min-width: fit-content;
}

/* Hide empty cards */
.case-header-card:not(:has([data-role="card-data"])) {
    display: none;
}

.case-header-card .dt-semibold,
.case-header-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-header-card .dt-datacell,
.case-header-card .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
}

.case-header-card .badge {
    margin-top: 4px;
}

/* Suggestions list styling */
#autocomplete-suggestions{border:1px solid #D0D7DE;border-radius:6px;background:#fff;margin-top:6px;max-height:240px;overflow:auto}
#autocomplete-suggestions .suggestion{padding:8px 10px;cursor:pointer}
#autocomplete-suggestions .suggestion:hover{background:#F6F8FA}
 
/* Mobile Layout */
/* ----------------------------------------------------- */
 
/* #endregion */
 
/* #region Footer */
/* ===================================================== */
.footer {
    align-items: center;
}
 
.footer-container {
    height: 100%;
    margin: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
 
.footer-left {
    margin: 0;
}
 
.footer-left p {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    font-weight: 400;
    color: var(--bs-white);
}
 
.footer-right {
    margin: 0;
}
 
.footer-link {
    margin: 0;
}
a.footer-link {
    color: var(--bs-white);
    text-decoration: none;
}

a.footer-link:hover {
    color: var(--hover-color-1);
     text-decoration: none;
}

.footer .divider {
    color: var(--bs-white);
}
 
/* #endregion */
 
/* #region Page Layout */
/* ===================================================== */
 
/* Breadcrumbs */
/* ----------------------------------------------------- */
.breadcrumb {
    padding: 0px;
    margin-bottom: 0px;
    list-style: none;
    border-radius: 0px;
}
 
li.breadcrumb-item a {
    padding: 0px;
}
 
.breadcrumb > .active {
    color: #000000;
    font-weight: 400;
}
/* #endregion */

/* Page Layout */
/* ----------------------------------------------------- */
.page-banner {
    margin: 0;
}
 
.wrapper-body {
    background-color: rgba(var(--bs-light-rgb), 1) !important;
}
 
#content-container{
    background-color: rgba(var(--bs-white-rgb), 1) !important;
}

/* Page title */
h1 {
    font-size: calc(1.275rem + 0.3vw) !important;
    font-weight: 550 !important;
    line-height: 1.2 !important;
    color: var(--bs-heading-color) !important;    
}

.btn-default, a, .a, h2, .h2, .section-landing .row > div .section-landing-sub-heading, .page_section h2, .color-inverse h2, h2 p, .btn-primary {
    font-family: var(--bs-body-font-family) !important;
}
 
.crmEntityFormView .tab-title {
    border-bottom: none !important;
    font-size: 1.7rem !important;
    font-weight: 500;
}
 
.crmEntityFormView .section-title h3{
    font-family: var(--bs-body-font-family) !important;
    font-size: 1.25rem;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: var(--h5-font-color) !important;
}
/* Fix vertical spacing for the Department header inside the form card */

.crmEntityFormView h1,
.crmEntityFormView .h1 {
    margin-top: 1.5rem !important;   /* adjust 1.0–2.0rem if you want more/less */
}
.section-title {
    padding: unset !important;
}
/*.section-title {
    margin: unset !important;
    font-size: 1.3rem !important;
}*/
 
 
.tab-column {
    padding: 0px 10px 0px 10px !important;
}
.crmEntityFormView .tab-column {
    padding: 1.25rem 10px 0 10px !important;
}
.tab-title {
    font-size: 1.7rem !important;
    margin-bottom: .25rem !important;
}
 
#WebFormPanel {
    border-radius: 8px;    
    padding-top: 0.5rem !important;  
}
 
fieldset {
  /*  border: 1px solid #e4e6ef !important;
    border-radius: 8px !important;
    padding: 24px 24px 18px 24px !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important; */
    background: #fff;
}

/* Custom CSS to style the 'field label' like first name, last name etc */
.crmEntityFormView .field-label {
    font-weight: 500;
    color: var(--h5-font-color);
    margin-bottom: 0.5rem;
    background-color: transparent;
}
 
.form-control{
    background-color: #fff !important;
    border-radius: 6px;
    border: 1px solid #dde2e7 !important;
    box-shadow: none !important;
    font-size: 16px;
}

/* Form control focus highlight (mockup style) */
/* .form-control:focus,
.form-select:focus {
    border-color: var(--accent-color) !important;   
    box-shadow: 0 0 0 0.25rem var(--accent-color) !important; 
    outline: none !important;
} */

/* Base border for selects */
.form-select {
    border: 1px solid #dee2e6 !important;
    border-radius: 6px;
}

/* Focus state – use #003087 and a soft glow, like your mockup */
.form-select:focus {
    border-color: #dee2e6 !important;
    box-shadow: 0 0 0 0.25rem #dee2e6 !important;
    outline: 0 !important;
}

/* Match dropdown focus border to the blue example */

.crmEntityFormView select,
.crmEntityFormView .form-select {
    border-radius: 0.5rem !important;   /* nice rounded corners */
}

/* Focus / open state */
.crmEntityFormView select:focus,
.crmEntityFormView .form-select:focus,
.crmEntityFormView select:focus-visible {
    border-color: #81CDE9 !important;                     /* blue border */
    box-shadow: 0 0 0 0.25rem rgba(129, 205, 233, 0.6) !important; /* outer ring */
    outline: none !important;
}
 
.crmEntityFormView, .entitylist, .modal-content, .popover-content {
    background-color: #fff !important;
}
 
table th {
    background-color: #f6f8fa;
    font-weight: 500;
    border-bottom: 2px solid #dee2e6;
}
 
table td {
    vertical-align: middle !important;
}
 
/* #endregion */
 
/* #region Fluent UI Tabs */
/* ===================================================== */
.fluent-tabs {
    display: flex;
    border-bottom: 4px solid #e1e1e1;
    background: transparent;
    padding-left: 0;
}
 
.fluent-tab {
    background: none !important;
    border: none;
    border-radius: 0;
    color: #323130;
    font-size: 1rem !important;
    font-weight: 500  !important;;
    padding: 0.75rem 1.5rem 0.5rem 1.5rem;
    margin-bottom: -4px;
    margin-left: 0px !important;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 4px solid transparent;
    box-shadow: none;
}
 
.fluent-tab.active,
.fluent-tab:focus,
.fluent-tab[aria-selected="true"] {
    color: var(--default-color);
    border-bottom: 4px solid var(--default-color);
}
 
.fluent-tab:hover {
    /* color: var(--hover-color-1) !important; */
    border-bottom: 4px solid var(--hover-color-1) !important;
}
 
.fluent-tabs .fluent-tab,
.fluent-tabs .fluent-tab:hover,
.fluent-tabs .fluent-tab:focus,
.fluent-tabs .fluent-tab:active {
  text-decoration: none !important;
}
 
.fluent-tab-label {
    display: inline-block;
}
 
 
/* #endregion */
 
/* Fluent UI Tabs - Icon Styling */
.fluent-tab i {
    margin-right: 0.4rem;
    font-size: 0.95rem;
    color: inherit;    
    transition: color 0.1s ease;
}
 
/* .fluent-tab:hover i {
    color: var(--hover-color-1) !important;
} */
 
/* Active & selected: use default color */
.fluent-tab.active,
.fluent-tab:focus,
.fluent-tab[aria-selected="true"] {
    color: var(--default-color);
    border-bottom: 4px solid var(--default-color);
}
 
.fluent-tab.active i,
.fluent-tab:focus i,
.fluent-tab[aria-selected="true"] i {
    color: var(--default-color);
}
 
/* #endregion */
 
/* #region Buttons */
/* ===================================================== */
 
.btn-outline-secondary {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none;
    font-weight: 400;
    border-radius: 6px;
    padding: 8px 8px;
    font-size: 14px;
}
 
.btn-primary {
    background-color: var(--default-color);
    border-color: var(--default-color);
    font-weight: 500;
    --bs-btn-hover-bg: #FFC72C;

}
 
    .btn-primary:hover, .btn-primary:focus {
        background-color: #0056b3;
        border-color: #0056b3;
    }
 
 
.btn-msteams {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-btn-msteams-bg);
    --bs-btn-border-color: var(--bs-btn-msteams-bg);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-btn-msteams-bg);
    --bs-btn-hover-border-color: var(--bs-btn-msteams-bg);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-btn-msteams-bg);
    --bs-btn-active-border-color: var(--bs-btn-msteams-bg);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-btn-msteams-bg);
    --bs-btn-disabled-border-color: var(--bs-btn-msteams-bg);
    --bs-gradient: none;
    font-weight: 400;
    border-radius: 6px;
    padding: 8px 8px;
    font-size: 14px;
}

.btn-msteams:hover, .btn-msteams:focus {
    background-color: var(--bs-btn-msteams-hover-bg);
    border-color: var(--bs-btn-msteams-hover-bg);
}

/* #endregion */
 
/* #region Sign-In Page */
/* ===================================================== */
#content-container.signinpage #content .nav.nav-tabs {display:none!important;}
#content-container.signinpage .page-content.row .row .col-md-6 {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
#content-container.signinpage .page-content.row .row .col-md-6:first-child {margin-bottom: 40px;}
 
#content-container.signinpage .page-content.row .row .col-md-6 .form-group .label,
#content-container.signinpage .page-content.row .row .col-md-6 .form-group .col-sm-8 {-ms-flex: 0 1 auto; flex: 0 1 auto; max-width: 100%; }
#content-container.signinpage .page-content.row .row .col-md-6 .form-group .form-control {padding: 1em;}
#content-container.signinpage{
  background-color:rgba(var(--bs-light-rgb), 1) !important
}
 
.login-card {
    background: white;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 2.5rem;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.login-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}
 
.login-description {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0;
}
 
#external-login-heading{
    display: none;
}
 
.alert-danger /*Cant we just use the OOB Bootstrap 5 styles?*/
{
    background-color: #f8d7da !important;
}
 
/* Sign-In Page: Buttons */
/* ------------------------------------------------- */
.okta-btn {
    background-color: #007bc7;
    border-color: #007bc7;
    color: white;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.15s ease-in-out;
}
 
.okta-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    color: white;
}
 
.external-btn {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.15s ease-in-out;
}
 
.external-btn:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
    color: #4a5568;
}
 
/* Sign-In Page: Images */
/* ------------------------------------------------- */
.logo-img {
    max-height: 60px;
    max-width: 200px;
    margin-bottom: 2rem;
    object-fit: contain;
    display: block;
}
 
.logo-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 180px;
    height: auto;
}
 
/* #endregion */
 
 
 
/* ======================================================================================================================= */
/** To Be Verified / Organized **/
/* ======================================================================================================================= */
 
 
/* SIDE BAR Layout Start */
 
div .list-group-item {
    /*color: #212529;*/
    padding: 18px 24px;
    border: none;
    border-left: 4px solid transparent;
    font-weight: 500;
    font-size: 16px;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
 
    div .list-group-item.active {
        background-color: #0074e0;
        color: #fff;
        border-left: 4px solid #0074e0;
    }
 
    div .list-group-item:not(.active):hover {
        background-color: #e9ecef;
        color: #0074e0;
    }
 
    div .list-group-item .desc {
        font-size: 13px;
        color: #6c757d;
        font-weight: 400;
        display: block;
    }
 
/* Sidebar = transparent container (no card look) */
.sidebar {
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    min-width: 285px !important;
    margin-right: 24px !important;
    height: auto;
    box-shadow: none !important;
    position: relative;
}

/* If markup has .card wrappers inside sidebar, flatten those too */
.sidebar > .card,
.sidebar > .card > .card-body {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

 
.progress {
    background-color: #fff !important;
}
 
/*.entity-action-button
{
    float:right;
}
 
div.actions div.col-md-6.clearfix
{
    float:right;
}
 
#WebFormControl_0358745e464cf011877a7c1e5215f813 span:first-child{
    display: flex;
}
span .fa-solid.fa-check{
    display: inline !important;
} */
 
span #WebFormPanel {
    padding: 0 12px 0 12px
}
 
/* Step list styling */
/* .progress.list-group.left {
    margin: 0;
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
    
} */

/* Progress list = the ONLY card */
.progress.list-group.left {
    margin: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    height: auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Each step is just a segment of that single card */
.progress.list-group.left .list-group-item {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Round only the top and bottom of the stack */
.progress.list-group.left .list-group-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.progress.list-group.left .list-group-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: 0;
}

 
/* Step item base */
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item {
   /* background: #f6f7f9;
    border-radius: 4px;*/
    border-bottom: 1px solid #e0e3ea;
    /*color: #173a5e;*/
    font-weight: 600;
    font-size: 1rem;
   /* margin-bottom: 14px;*/
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 20px 18px 20px;
    box-shadow: none;
    position: relative;
    transition: background 0.2s, border 0.2s;
}
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item:last-child,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item:last-child,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item:last-child,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item:last-child {
    margin-bottom: 0;
}

/* Active/current step */
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item.active,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item.active,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item.active,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item.active {
    background: #e3f2fd;
    border-left: 3px solid #003087;
    border-right: none;
    border-top: none;
    border-bottom: none;
    font-weight: 700;
    /*color: #0a6ed1;*/
    padding-left: 24px;
    z-index: 1;
}

/* Completed steps */
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item-success,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item-success,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item-success,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item-success {
    color: #173a5e;
    background: #E9FFF1;
    font-weight: 600;
    /*border: 1px solid #e0e3ea;*/
    border-left: 3px solid #2FBF71;
}
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item-success .fa-check,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item-success .fa-check,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item-success .fa-check,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item-success .fa-check {
    color: #fff;
    background: #2FBF71;
    /*font-size: 1.2rem;*/
    margin-left: auto;
    margin-right: 2px;
    border-radius: 50%;
    padding: 2px;
    display: inline-block;
}
 
/* Incomplete steps */
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item.incomplete,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item.incomplete,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item.incomplete,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item.incomplete {
    /*color: #6a7685;
    background: #f6f7f9; */
    font-weight: 600;
   /* border: 1px solid #e0e3ea;
    opacity: 0.75;*/
}
 
/* Remove Bootstrap's default list-group styles that conflict */
#WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item.text-muted,
#WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item.text-muted,
#WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item.text-muted,
#WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item.text-muted {
    color: #173a5e !important;
}
 
/* Responsive: shrink padding for small screens */
@media (max-width: 500px) {
    #WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item,
    #WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item,
    #WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item,
    #WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item {
        padding: 14px 10px 14px 10px;
    }
    #WebFormControl_a526c37a8d51493daed0ab68fa69c920_ProgressIndicator .list-group-item.active,
    #WebFormControl_9351745e72c84d1e9733fda43ca202ae_ProgressIndicator .list-group-item.active,
    #WebFormControl_f2e505495c0543ce9baf29460473b975_ProgressIndicator .list-group-item.active,
    #WebFormControl_0358745e464cf011877a7c1e5215f813_ProgressIndicator .list-group-item.active {
        padding-left: 14px;
    }
}
 
.step-text {
    display: flex;
    flex-direction: column;
    color: #212529;
}
 
/* Optional: space out description */
.step-description {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 2px;
    font-weight:400;
}
 
/* SIDE BAR Layout End */
 
.tab-description {
    font-size: 1rem;
    color: #6B7280; /* soft gray */
    margin-top: 4px;
    margin-bottom: 12px;
    padding-left: 10px;
}
 
.tab-title {
    padding-left: 10px;
}
 
/* Section description right under legend */
.section-description {
    font-size: 0.875rem;      
    color: var(--bs-secondary-color);
    margin-top: 0.25rem;      
    margin-bottom: 1rem;      
    line-height: 1.4;          
}
 
.section-description p {
    margin: 0;                
    display: block;
}
 
 
/*Description text below control*/
.crmEntityFormView div.description.below {
    color: #4d5768;
    margin: 8px 0 0 0;
    font-weight: 400;
}
 
/*subgrid border style*/
div.view-grid.table-responsive tr, div.view-grid.table-responsive.has-pagination tr {
    border-width: 1px
}
 
/* Subgrid action buttons */
.view-grid .dropdown.action > .btn {
    display: none;
}
 
.view-grid .dropdown.action .dropdown-menu {
    display: block;
    position: static !important;
    position: initial !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    max-width: 95px;
    min-width: 95px;
    width: 95px;
    left: auto !important;
    top: auto !important;
}
 
.view-grid .dropdown.action .dropdown-menu li {
    display: inline-block;
    text-align: center;
}
 
.view-grid .dropdown.action .dropdown-menu li a {
    font-size: 0;
    padding: 2px;
    margin: 0;
}
 
.view-grid .dropdown.action .dropdown-menu li a > span {
    font-size: 18px;
}
 
.view-grid .dropdown.action .dropdown-menu li a:hover {
    color: #008C95;
    background: transparent;
}
 
.fa-edit {
    color: #6B778C;
}
/* Subgrid action buttons End*/

/* Document Uploader action buttons */
.action-btn {
    border: none;
    background: none;
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
    margin: 0 2px;
    padding: 4px 6px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-btn:hover {
    color: var(--default-color);
}

.action-btn.delete:hover {
    color: var(--bs-red);
}

/* Container query context for document uploaders */
.card-body,
.document-uploader-container,
.document-list-container,
fieldset[aria-label="Upload Documents"],
fieldset[aria-label="Uploaded Documents"] {
    container-type: inline-size;
    container-name: doc-container;
}

/* Filename truncation - base styles */
.file-name-cell .truncate,
.file-name-cell .file-download-link {
    display: inline-block;
    max-width: 20ch; /* fallback for older browsers */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

/* Type column truncation - base styles */
.type-col .doc-type-select {
    display: block;
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Uploaded by column truncation - base styles */
.uploaded-by-col {
    display: block;
    max-width: 12ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Container query breakpoints - adapts to parent container width */
@container doc-container (min-width: 900px) {
    .file-name-cell .truncate,
    .file-name-cell .file-download-link {
        max-width: 32ch;
    }
    .type-col .doc-type-select {
        max-width: 24ch;
    }
    .uploaded-by-col {
        max-width: 18ch;
    }
}

@container doc-container (min-width: 700px) and (max-width: 899px) {
    .file-name-cell .truncate,
    .file-name-cell .file-download-link {
        max-width: 24ch;
    }
    .type-col .doc-type-select {
        max-width: 18ch;
    }
    .uploaded-by-col {
        max-width: 14ch;
    }
}

@container doc-container (min-width: 550px) and (max-width: 699px) {
    .file-name-cell .truncate,
    .file-name-cell .file-download-link {
        max-width: 18ch;
    }
    .type-col .doc-type-select {
        max-width: 14ch;
    }
    .uploaded-by-col {
        max-width: 10ch;
    }
}

@container doc-container (min-width: 400px) and (max-width: 549px) {
    .file-name-cell .truncate,
    .file-name-cell .file-download-link {
        max-width: 14ch;
    }
    .type-col .doc-type-select {
        max-width: 12ch;
    }
    .uploaded-by-col {
        max-width: 8ch;
    }
}

@container doc-container (max-width: 399px) {
    .file-name-cell .truncate,
    .file-name-cell .file-download-link {
        max-width: 10ch;
    }
    .type-col .doc-type-select {
        max-width: 10ch;
    }
    .uploaded-by-col {
        max-width: 6ch;
    }
}

/* Fallback media queries for browsers without container query support */
@supports not (container-type: inline-size) {
    @media (min-width: 1200px) {
        .file-name-cell .truncate,
        .file-name-cell .file-download-link {
            max-width: 28ch;
        }
        .type-col .doc-type-select {
            max-width: 22ch;
        }
        .uploaded-by-col {
            max-width: 16ch;
        }
    }
    @media (min-width: 992px) and (max-width: 1199px) {
        .file-name-cell .truncate,
        .file-name-cell .file-download-link {
            max-width: 20ch;
        }
        .type-col .doc-type-select {
            max-width: 16ch;
        }
        .uploaded-by-col {
            max-width: 12ch;
        }
    }
    @media (min-width: 768px) and (max-width: 991px) {
        .file-name-cell .truncate,
        .file-name-cell .file-download-link {
            max-width: 16ch;
        }
        .type-col .doc-type-select {
            max-width: 12ch;
        }
        .uploaded-by-col {
            max-width: 10ch;
        }
    }
    @media (max-width: 767px) {
        .file-name-cell .truncate,
        .file-name-cell .file-download-link {
            max-width: 12ch;
        }
        .type-col .doc-type-select {
            max-width: 10ch;
        }
        .uploaded-by-col {
            max-width: 8ch;
        }
    }
}

/* Filename link - same color on hover and non-hover */
.file-name-cell .file-download-link,
.file-name-cell .file-download-link:hover,
.file-name-cell .file-download-link:focus,
.file-name-cell .file-download-link:active,
.file-name-cell .file-download-link:visited {
    color: var(--default-color);
    text-decoration: none;
}
/* Document Uploader action buttons End */

/* =========================================================
   DOCUMENT UPLOAD AREA (shared across all pages)
========================================================= */

.upload-area {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--default-color);
  background-color: rgba(0, 48, 135, 0.05);
}

.upload-icon {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.file-input {
  display: none;
}

fieldset[aria-label="Upload Documents"] .upload-area h5,
fieldset[aria-label="Uploaded Documents"] .upload-area h5 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--font-color);
  margin: 0 0 .5rem 0;
}

fieldset[aria-label="Upload Documents"] .upload-area p,
fieldset[aria-label="Upload Documents"] .upload-area p.text-muted,
fieldset[aria-label="Uploaded Documents"] .upload-area p,
fieldset[aria-label="Uploaded Documents"] .upload-area p.text-muted {
  font-family: var(--default-font);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6c757d !important;
  margin-bottom: 1rem;
}

fieldset[aria-label="Upload Documents"] .upload-area:hover h5,
fieldset[aria-label="Uploaded Documents"] .upload-area:hover h5,
.entity-form .upload-area:hover h5 {
  color: var(--default-color) !important;
}

/* Disabled overlay style used while uploading */
.is-disabled {
  pointer-events: none;
  opacity: .6;
}

/* Doc Type select styling */
.doc-type-select {
  width: 100%;
  min-width: 140px;
  max-width: 100%;
  font-size: 0.85rem !important;
  padding: 0.35rem 2rem 0.35rem 0.5rem !important;
}

/* Disabled/locked doc type select (e.g., Submitted documents) */
.doc-type-select[disabled],
.doc-type-select.is-disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
  opacity: 1;
}

/* Document table header and cell alignment - left aligned */
.document-uploader-container .table thead th,
.document-list-container .table thead th,
.table-container .table thead th {
  white-space: nowrap;
  text-align: left;
  vertical-align: middle;
}

.document-uploader-container .table tbody td,
.document-list-container .table tbody td,
.table-container .table tbody td {
  text-align: left;
  vertical-align: middle;
}

/* =========================================================
   DOCUMENT TABLE COLUMN WIDTHS - Responsive percentages
   Columns: Name | Type | Status? | Size | Date | Actions
========================================================= */

.document-uploader-container .table,
.document-list-container .table,
.table-container .table {
  width: 100%;
  min-width: 580px;
}

/* Column width classes - using min-width for minimum sizes */
.file-name-cell { width: 24%; min-width: 100px; text-align: left; }
.type-col { width: 18%; min-width: 140px; }
.status-col { width: 8%; min-width: 70px; white-space: nowrap; }
.size-col { width: 7%; min-width: 60px; white-space: nowrap; }
.uploaded-by-col { width: 12%; min-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-col { width: 12%; min-width: 85px; white-space: nowrap; }
.action-col { width: 9%; min-width: 80px; white-space: nowrap; }

/* When status column is hidden, redistribute space */
.document-list-container:not([data-show-status="true"]) .file-name-cell,
.document-uploader-container:not([data-show-status="true"]) .file-name-cell { width: 32%; }
.document-list-container:not([data-show-status="true"]) .type-col,
.document-uploader-container:not([data-show-status="true"]) .type-col { width: 25%; }
.document-list-container:not([data-show-status="true"]) .date-col,
.document-uploader-container:not([data-show-status="true"]) .date-col { width: 15%; }

/* Document requirements table styling */
#helpText {
  font-size: 15px;
  border-top: 1px solid #d6d6d6;
  padding: 15px 0px;
  margin-top: 15px;
}

#helpText .badge {
  float: none;
}

fieldset table.table.table-custom > thead > tr > th,
fieldset table.table.table-custom > tbody > tr > td {
  padding: 0.75rem !important;
  vertical-align: middle;
}

fieldset table.table.table-custom > thead > tr > th {
  background-color: #003087 !important;
  color: #fff !important;
  font-weight: 600;
}

fieldset table.table.table-custom .badge {
  float: none;
}

fieldset table.table.table-custom td .helpinfo {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 4px;
}

fieldset table.table.table-custom > thead > tr > th:nth-child(1),
fieldset table.table.table-custom > tbody > tr > td:nth-child(1) {
  width: 240px;
  word-break: break-word;
}

fieldset table.table.table-custom > tbody > tr > td:nth-child(2) {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.45;
}

fieldset table.table.table-custom > tbody > tr > td:nth-child(2) a {
  color: inherit;
}

fieldset table.table.table-custom > thead > tr > th:nth-child(3),
fieldset table.table.table-custom > tbody > tr > td:nth-child(3) {
  width: 160px;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 576px) {
  fieldset[aria-label="Upload Documents"] .upload-area h5,
  fieldset[aria-label="Uploaded Documents"] .upload-area h5 {
    font-size: 1rem;
  }
  fieldset[aria-label="Upload Documents"] .upload-area p,
  fieldset[aria-label="Uploaded Documents"] .upload-area p {
    font-size: 0.9rem;
  }

  fieldset table.table.table-custom > thead > tr > th:nth-child(1),
  fieldset table.table.table-custom > tbody > tr > td:nth-child(1) {
    width: 180px;
  }

  fieldset table.table.table-custom > thead > tr > th:nth-child(3),
  fieldset table.table.table-custom > tbody > tr > td:nth-child(3) {
    width: 120px;
  }
}

/* Document Upload Area End */
 
select{
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
 }
 
 
/* Align New Button to Left Start*/
.new-value{
    margin-right: auto !important;
}
 
/* Align New Button to Left End*/
 
/*Department Header Text style*/
.form-header {
    border-radius: 6px;
    margin-bottom: 20px;
    padding-top: 0.75rem;
}

.form-header .form-title {
    margin-top: 0 !important;
    margin-bottom: 0.75rem;
}
.page-header{
    margin:45px 0 10px !important;
}
 
/* .form-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
    font-family: "Segoe UI", system-ui, sans-serif !important
} */

.form-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;   /* was margin: 0; */
    color: #111827;
    font-family: "Segoe UI", system-ui, sans-serif !important;
}
 
.form-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin: 4px 0 0 0;
    font-family: "Segoe UI", system-ui, sans-serif !important
}
 
/* #Read - only Fields on form */
/* ===================================================== */
 
/* Read-only inputs (text, email, url, etc.) */
.control input[readonly],
.control select[disabled],
.control textarea[readonly] {
    background-color: var(--bs-bg-3) !important;
    padding-left: .75rem !important;
    cursor: not-allowed;
    color: var(--h5-font-color) !important;
}
 
/* Read-only anchor links (like website/email rendered as <a>) */
.control a[readonly],
.control a[href^="http"],
.control a[href^="mailto:"] {
    display: block;
    width: 100%;
    padding: .375rem .75rem;        
    border: 1px solid #dee2e6
;
    border-radius: 6px;
    font-size: 16px;
    color: var(--h5-font-color) !important;
    background-color: var(--bs-bg-3);
    text-decoration: none !important;
    cursor: not-allowed;
    pointer-events: none;
}
 
.control a[readonly]:hover,
.control a[href^="http"]:hover,
.control a[href^="mailto:"]:hover {
    color: var(--h5-font-color) !important;
    text-decoration: none !important;
}
 
.control input[readonly],
.control select[disabled],
.control textarea[readonly],
.control a[readonly],
.control a[href^="http"],
.control a[href^="mailto:"] {
    background-color: var(--bs-bg-3) !important;
    padding-left: .75rem !important;
    color: var(--h5-font-color) !important;
    border: 1px solid #dde2e7;
    border-radius: 6px;
    font-size: 16px;
    cursor: default !important;
    pointer-events: none;
}
 
 
.control .text-muted[aria-hidden="true"] {
    display: none !important;
}
 
.control input[readonly]::placeholder,
.control textarea[readonly]::placeholder {
    color: transparent !important;
}
 
/* #endregion */

/* Date Picker decoration */
.datepicker td.day.disabled > button,
.datepicker td.day.disabled > button:hover,
.datepicker td.old.day.disabled > button,
.datepicker td.new.day.disabled > button {
cursor: not-allowed !important;
}

.bootstrap-datetimepicker-widget table td.day.disabled > button,
.bootstrap-datetimepicker-widget table td.old.day.disabled > button,
.bootstrap-datetimepicker-widget table td.new.day.disabled > button,
.bootstrap-datetimepicker-widget table td.day.disabled > button:hover {
cursor: not-allowed !important;
}

.datepicker td.day.disabled,
.bootstrap-datetimepicker-widget table td.day.disabled {
cursor: not-allowed !important;
}
/* Date Picker endregion */
 
/* Target  field control decoration */
.control input[type="url"],
.control input[type="email"],
.control input[type="text"] {
    text-decoration: none !important;
}
 
/* #endregion */
 
/* Required */
.required {
    color: var(--bs-red);
}
 
/* Links Colors */
 
.field-label a {
  color: var(--default-color) !important;
  text-decoration: underline !important;
}
.field-label a:hover {
  color: var(--font-color) !important;
  text-decoration: underline !important;
}
/* #endregion */

/* Help icon link */
.help-link {
    margin-left: 10px;
    margin-top: 10px;
    color: var(--default-color);
}

.help-link i {
    color: var(--default-color) !important;
    font-size: 24px;
}

.help-link:hover {
    color: var(--font-color);
}

.help-link i:hover {
    color: var(--hover-color-1) !important;
}

a.help-link,
a.help-link:hover,
a.help-link:focus,
a.help-link:active {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* #endregion */
 
/* Placeholder styling across all inputs */
::placeholder {
    color: var(--font-color-2)!important;
    opacity: 1;
    font-size: 0.9rem;
    font-family: var(--default-font);
}
 
:-ms-input-placeholder {
    color: var(--font-color-2) !important;
}
 
::-ms-input-placeholder {
    color: var(--font-color-2) !important;
}
 
.form-control:focus::placeholder {
    color: transparent !important;
}
/* #endregion */
 
/* Form Checkboxes */
.form-section {
    margin-bottom: 2rem;
}
 
.form-check-label {
    font-size: 16px;
    font-weight: 400;
    color: #495057 !important;
    margin-bottom: 0.5rem;
}
/* #endregion */
 
/* Consent Page */
.checkbox-cell {
  padding: 1rem !important;
  background-color: #f8f9fa;
  border-radius: 6px;
}
 
.checkbox-cell .field-label {
  font-size: 16px;
  font-weight: 400;
  color: #495057;
  width: 100%;
}
 
/* #region Success Screen */
/* ===================================================== */
 
.success-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
 
 
.success-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
}
 
.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out;
}
 
.success-icon i {
    color: white;
    font-size: 2.5rem;
}
 
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
 
    50% {
        transform: scale(1.1);
    }
 
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
 
.success-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}
 
.success-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
 
.success-details .label {
    color: #6c757d;
    font-weight: 500;
}
 
.success-details .value {
    color: var(--h5-font-color);
    font-weight: 600;
}
 
.success-title {
    color: var(--h5-font-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}
 
.success-message {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}
 
.btn-success-custom {
    background-color: #28a745;
    border-color: #28a745;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}
 
.btn-success-custom:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
}
 
.successwebformpanel{
    background-color: rgba(var(--bs-light-rgb), 1) !important;
    border: 0px;
}
 
@media (max-width: 576px) {
    .success-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
 
    .success-icon {
        width: 60px;
        height: 60px;
    }
 
    .success-icon i {
        font-size: 2rem;
    }
 
    .success-title {
        font-size: 1.5rem;
    }
}

/* #endregion */

/* Center align ONLY the "Sign Out" item */
ul.dropdown-menu.dropdown-menu-md-end li a.dropdown-item[href*="LogOff"] {
  text-align: center !important;
}


/* ======================================= */
/* ===== Azure Maps Address Autocomplete Styles ===== */
/* ======================================= */

/* Wrapper for positioning the dropdown */
.autocomplete { 
    position: relative; 
    display: block; 
}

/* The suggestion list container */
.suggestions {
    position: absolute;
    top: calc(100% + 2.5rem); /* Positions the dropdown below the input field */
    left: 0;
    right: 0;
    display: none; /* Hidden by default */
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 9999; /* Ensure it appears above all other elements */
}

/* Show the list when the JS sets this class */
.suggestions.show { 
    display: block; 
}

/* Styling for individual suggestion items */
.suggestions li {
    padding: 10px 12px; 
    cursor: pointer; 
    line-height: 1.25;
}

/* Highlight style for hover and keyboard selection (accessibility) */
.suggestions li:hover,
.suggestions li[aria-selected="true"] {
    background: #f0f6ff;
}

/* ============================================
   1. Make ALL dropdowns use the same border + shadow
   ============================================ */
.dropdown-menu,
#header .dropdown-menu,
.modal .dropdown-menu {
  border-radius: 8px !important;
  border: 1px solid #D0D7DE !important;          /* soft gray border */
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18) !important;
  padding: 0.35rem 0.25rem;
}

/* Dropdown items – same padding + hover everywhere */
.dropdown-menu .dropdown-item {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #F3F4F6 !important;
}

/* ============================================
   2. Unify ALL lookup/search modals
   (Add Participants, lookup search, etc.)
   ============================================ */
.modal .modal-content {
  border-radius: 12px !important;
  border: 1px solid #D0D7DE !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25) !important;
}

/* Header of the modal – brand blue bar */
.modal .modal-header {
  background-color: #003087 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #00275d !important;
}

/* White “X” icon on the blue header */
.modal .btn-close {
  filter: invert(1) !important;
  opacity: 1 !important;
}

/* Base style for all inputs / selects / textareas */
.crmEntityFormView .form-control,
.crmEntityFormView .form-select {
    border-radius: 6px !important;
    border: 1px solid #dde2e7 !important;   /* light gray idle border */
    box-shadow: none !important;
}

/* Shared focus style (matches your blue select in screenshot) */
.crmEntityFormView .form-control:focus,
.crmEntityFormView .form-select:focus,
.crmEntityFormView input.form-control:focus,
.crmEntityFormView textarea.form-control:focus,
.crmEntityFormView select.form-select:focus {
    border-color: #80bdff !important;                        /* blue border */
    box-shadow: 0 0 0 0.25rem rgba(128, 189, 255, 0.45) !important;
    outline: 0 !important;
}

/* Base look for all checkboxes */
.crmEntityFormView input[type="checkbox"],
.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.25rem;
    border: 1px solid #dde2e7 !important;   /* same neutral border as inputs */
    background-color: #fff;
    box-shadow: none !important;
    accent-color: #003087;                  /* checkmark + inner color */
}

/* Focus state – match the select/input blue focus ring */
.crmEntityFormView input[type="checkbox"]:focus,
.form-check-input:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;          /* #81CDE9 in your vars */
    box-shadow: 0 0 0 0.25rem var(--accent-color) !important;
}


/* Base look for all radio buttons */
.crmEntityFormView input[type="radio"],
.form-check-input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;                          /* circle */
    border: 1px solid #dde2e7 !important;        /* same neutral border */
    box-shadow: none !important;
    accent-color: #003087;                       /* inner dot color */
}

/* Focus state – same blue ring as other controls */
.crmEntityFormView input[type="radio"]:focus,
.form-check-input[type="radio"]:focus {
    outline: none !important;
    border-color: var(--accent-color) !important; /* your #81CDE9 */
    box-shadow: 0 0 0 0.25rem var(--accent-color) !important;
}

/* Optional: spacing so “Yes / No” look clean */
.crmEntityFormView input[type="radio"] {
    margin-right: .35rem;
}

.crmEntityFormView input[type="radio"] + label,
.crmEntityFormView .form-check-label {
    margin-right: 1.25rem;
}

#zcs_agencyadministrator_name::placeholder,
#zcs_agencycouncil_name::placeholder,
#zcs_agencyrepresentative_name::placeholder,
#zcs_partyattorney_name::placeholder {
  color: #6c757d;
  opacity: 1; /* Firefox */
}
/* --- Lookup / staff modals: big white X close button --- */

/* Make sure header has room for the button */
.modal-lookup .modal-header,
#createPartyModal .modal-header {
    position: relative;
    padding-right: 3rem;
}

/* Reset the default Bootstrap close buttons */
.modal-lookup .modal-header .btn-close,
.modal-lookup .modal-header button.close,
#createPartyModal .modal-header .btn-close,
#createPartyModal .modal-header button.close {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
}

/* Hide the default “×” text if it exists */
.modal-lookup .modal-header button.close span,
#createPartyModal .modal-header button.close span {
    display: none;
}

/* Draw the white X (like your first screenshot) */
.modal-lookup .modal-header .btn-close::before,
.modal-lookup .modal-header .btn-close::after,
.modal-lookup .modal-header button.close::before,
.modal-lookup .modal-header button.close::after,
#createPartyModal .modal-header .btn-close::before,
#createPartyModal .modal-header .btn-close::after,
#createPartyModal .modal-header button.close::before,
#createPartyModal .modal-header button.close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    transform-origin: center;
}

.modal-lookup .modal-header .btn-close::before,
.modal-lookup .modal-header button.close::before,
#createPartyModal .modal-header .btn-close::before,
#createPartyModal .modal-header button.close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-lookup .modal-header .btn-close::after,
.modal-lookup .modal-header button.close::after,
#createPartyModal .modal-header .btn-close::after,
#createPartyModal .modal-header button.close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Keyboard focus outline (accessibility) */
.modal-lookup .modal-header .btn-close:focus-visible,
.modal-lookup .modal-header button.close:focus-visible,
#createPartyModal .modal-header .btn-close:focus-visible,
#createPartyModal .modal-header button.close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* === Represented radios – make them look like the first screenshot === */

/* normal radio look with blue check */
#zcs_represented, #zcs_isrepresented  input[type="radio"] {
    accent-color: #0066ff;   /* or #003087 if you prefer */
}

/* kill any square focus background/outline on this group */
#zcs_represented, #zcs_isrepresented  input[type="radio"]:focus,
#zcs_represented, #zcs_isrepresented  input[type="radio"]:focus-visible,
#zcs_represented, #zcs_isrepresented  label:focus,
#zcs_represented, #zcs_isrepresented  label:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* make sure labels don’t behave like buttons */
#zcs_represented, #zcs_isrepresented  label {
    padding: 0;
    border: 0;
    background: transparent;
}

/* === Unified checkbox style (match reference screenshot) === */
/* You can narrow the selector if you only want it inside a section:
   .hearing-resources input[type="checkbox"] { ... } */

input[type="checkbox"] {
    /* Remove native look */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 18px;
    height: 18px;
    margin: 0 0.4rem 0 0;      /* space before label text */
    vertical-align: middle;
    cursor: pointer;

    border-radius: 4px;         /* slightly rounded corners */
    border: 1px solid #c7ccd5;  /* light grey border */
    background-color: #ffffff;  /* white when unchecked */
    box-shadow: none;
    position: relative;
}

/* Checked state: blue square with white check mark */
input[type="checkbox"]:checked {
    border-color: #0d6efd;
    background-color: #0d6efd;
}

/* Draw the white tick */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Keyboard focus halo (blue rounded square around the box) */
input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.45);
    border-color: #0d6efd;
}

/* Disabled checkboxes: faded */
input[type="checkbox"]:disabled {
    cursor: not-allowed;
    border-color: #dcdfe6;
    background-color: #f5f7fa;
    box-shadow: none;
}
input[type="checkbox"]:disabled:checked::after {
    border-color: #ffffff;
}
/* === Date fields: icon inside the box === */

/* 1) Target the visible text inputs Power Pages uses for the dates */
#zcs_firstactiondate_datepicker_description,
#zcs_secondactiondate_datepicker_description {
    position: relative;
    padding-right: 2.6rem;          /* space so text doesn't hit the icon */
    background-repeat: no-repeat;
    background-position: right 0.9rem center;  /* icon position */
    background-size: 1rem 1rem;
    cursor: text;
}

/* 2) Draw a calendar icon as a background (SVG, so no extra image file) */
#zcs_firstactiondate_datepicker_description,
#zcs_secondactiondate_datepicker_description {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='1' y='3' width='14' height='12' rx='2' ry='2' fill='none' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='1' y1='6' x2='15' y2='6' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='5' y1='1.5' x2='5' y2='4.5' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='11' y1='1.5' x2='11' y2='4.5' stroke='%23003087' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* Parent wrapper for date fields – let children use absolute positioning */
.datetimepicker {
    position: relative;
}

/* Inputs: icon drawn as background inside the box */
#zcs_firstactiondate_datepicker_description,
#zcs_secondactiondate_datepicker_description {
    position: relative;
    padding-right: 2.6rem;
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='1' y='3' width='14' height='12' rx='2' ry='2' fill='none' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='1' y1='6' x2='15' y2='6' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='5' y1='1.5' x2='5' y2='4.5' stroke='%23003087' stroke-width='1.2'/%3E%3Cline x1='11' y1='1.5' x2='11' y2='4.5' stroke='%23003087' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* The original Power Pages icon (the sibling) – invisible but still clickable,
   positioned where your new icon is */
#zcs_firstactiondate_datepicker_description + *,
#zcs_secondactiondate_datepicker_description + * {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0;           /* hides it visually */
    background: none;
    border: none;
    cursor: pointer;
}
/* === Lookup modal grid checkboxes – bootstrap-like style === */

/* Base box (unchecked) */
.modal-lookup .view-grid span[role="checkbox"].fa.fa-fw {
    display: inline-flex;                 /* keep it clickable */
    align-items: center;
    justify-content: center;

    width: 1.15rem;
    height: 1.15rem;
    box-sizing: border-box;

    border-radius: 0.35rem;              /* rounded square */
    border: 1px solid #ced4da;
    background-color: #ffffff;

    color: transparent;                  /* hide the Font Awesome check when unchecked */
    cursor: pointer;
}

/* Checked state – blue box with white FA check */
.modal-lookup .view-grid span[role="checkbox"][aria-checked="true"].fa.fa-fw {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;                      /* FA check becomes white, like the other checkboxes */
}

/* Keyboard focus outline (accessibility) */
.modal-lookup .view-grid span[role="checkbox"][tabindex="0"]:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.6);
    outline-offset: 2px;
}
/* Mobile / tablet layout (below lg): stack sidebar over form
   AND let all steps be visible */
@media (max-width: 991.98px) {

  /* Stack layout */
  .sidebar {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;  /* space under the progress list */
  }

  #WebFormPanel {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  /* 🔥 IMPORTANT: remove height limit so "Initial Documents" + "Review & Submit"
     are not clipped on mobile */
  .sidebar,
  .sidebar .progress.list-group.left {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Mobile / tablet: stack sidebar on top and make ALL steps visible */
@media (max-width: 991.98px) {

  /* Sidebar + form layout */
  .sidebar {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;
  }

  #WebFormPanel {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  /* 🔥 Force the progress list to be a simple vertical list, no clipping */
  .progress.list-group.left {
    display: block !important;          /* not flex / row */
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    height: auto !important;
    max-height: none !important;

    overflow-x: visible !important;
    overflow-y: visible !important;

    white-space: normal !important;     /* so text can wrap */
  }

  .progress.list-group.left > li {
    display: block !important;
    width: 100% !important;
  }
}

/* Phones + tablets (including iPad Pro): 
   keep "Department of Natural Resources" from being cut off */
@media (max-width: 1199.98px) {

  /* Header cards can wrap nicely */
  .case-header-cards {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-end;
    max-width: 100%;
  }

  /* Each card can take full width if needed */
  .case-header-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Let the text wrap instead of being cut off */
  .case-header-cards .dt-semibold[data-role="card-data"],
  .case-header-cards .dt-datacell[data-role="card-data"] {
    display: block;
    white-space: normal !important;      /* allow wrapping */
    overflow: visible !important;        /* no clipping */
    text-overflow: unset !important;     /* no ellipsis */
    line-height: 1.25;
  }

  /* On smaller widths, don't force everything to the right edge
  .col-md-6.text-end .case-header-cards,
  .col-md-6.text-end .case-header-card {
    text-align: left;
  } */
}

/* When the help icon is moved onto the sidebar on small screens */
.help-on-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-left: 0.25rem;   /* nudge it away from the blue line */
}

/* Make sure the sidebar wrapper is a stable anchor */
.sidebar {
    position: relative;
}
/* Phones + tablets: keep the ? icon pinned to the right of the header,
   instead of letting it drop underneath. */
@media (max-width: 991.98px) {  /* covers phones + most tablets */
    .case-header-cards {
        position: relative;
        padding-right: 2.75rem;   /* space for the ? icon */
    }

    /* === Case header – help icon alignment (all screens) ==================== */

/* Make the right side header a positioning context */
.case-header-cards {
    position: relative;
}

/* === Case header – help icon beside blue line ======================= */

/* Make the right header area a positioning context */
.case-header-cards {
    position: relative;
    padding-right: 3rem;   /* room for vertical line + icon */
}

/* ===== NEW CASE HEADER LAYOUT ===== */

/* 1. Make the header a 3-column grid: text | line | ? */
.case-header-cards {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 0.75rem;
    align-items: center;
}

/* 2. Both “cards” (DNR + Aafjes-Soriano) stay in the first column */
.case-header-cards .case-header-card {
    grid-column: 1 / 2;
}

/* 3. Remove any old vertical-line pseudo elements from the theme */
.case-header-cards::before,
.case-header-cards::after {
    content: none !important;
}

/* 4. Draw our own blue vertical line as the middle grid column */
.case-header-cards::after {
    content: "";
    grid-column: 2 / 3;      /* middle column */
    grid-row: 1 / -1;        /* spans full header height */
    width: 2px;
    background-color: #003087;   /* theme blue */
    justify-self: center;
}

/* 5. Place the ? icon in the 3rd column, fully centered */
.case-header-cards .help-link.show-help {
    grid-column: 3 / 4;
    grid-row: 1 / -1;
    position: static !important;   /* kill old absolute positioning */
    transform: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 6. Small phones – tiny gap adjustment */
@media (max-width: 575.98px) {
    .case-header-cards {
        column-gap: 0.5rem;
    }
}

/* Make "Add Participants" modal big and avoid nested scrollbars */
#createPartyModal .modal-dialog {
    max-width: 1100px;        /* adjust as needed */
    width: 90vw;
    height: calc(100vh - 40px);
    margin: 20px auto;
}

#createPartyModal .modal-content {
    height: 100%;
}

#createPartyModal .modal-body {
    padding: 0;
    overflow-y: hidden;       /* no inner vertical scroll bar */
}

/* Make the iframes fill the modal body */
#individualIframe,
#orgIframe {
    display: block;
    width: 100%;
    height: calc(100vh - 160px);  /* leave space for header/footer; tweak 160px as needed */
    border: 0;
}

/* Optional: inside the iframe page, avoid extra scroll on EntityFormPanel */
.participant-popup {
    max-height: none !important;
    overflow-y: visible !important;
}

/* ==== FINAL OVERRIDES FOR "Add Primary Party" MODAL ==== */

/* 1. Kill Bootstrap's scrollable-body in this modal */
#createPartyModal.modal .modal-dialog-scrollable .modal-body,
#createPartyModal .modal-dialog-scrollable .modal-body {
    overflow-y: visible !important;
    max-height: none !important;
}

/* 2. Let the dialog/content grow naturally */
#createPartyModal .modal-dialog,
#createPartyModal .modal-content {
    max-height: none !important;
    height: auto !important;
}

/* 3. Remove the fixed 500px height on the row that wraps the iframe */
#createPartyModal #individualContent > .row,
#createPartyModal #organizationContent > .row {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 4. Give the iframe enough height so *it* doesn’t need a scrollbar */
#individualIframe,
#orgIframe {
    display: block;
    width: 100%;
    border: 0;
    height: 1100px !important;   /* adjust up/down if you want */
}

/* Make the embedded forms taller so the iframe rarely needs to scroll */
#createPartyModal #individualIframe,
#createPartyModal #orgIframe {
  height: 950px !important;      /* adjust this number if needed */
  max-height: none !important;
}


/* Make the *list* the only card */
/* .sidebar .progress.list-group.left {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    padding: 0;
    margin: 0;
} */

/* Flatten any outer card/wrapper around the list */
/* .sidebar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
} */

/* If there’s a .card / .card-body between .sidebar and the list, flatten those too */
/* .sidebar > .card,
.sidebar > .card > .card-body {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
} */

/* List items look like segments of a single card */
/* .sidebar .progress.list-group.left .list-group-item {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
} */

/* Top & bottom rounding only once */
/* .sidebar .progress.list-group.left .list-group-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
} */

/* .sidebar .progress.list-group.left .list-group-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: 0;
} */



/* Round only the top and bottom of the whole stack */
/* .sidebar .list-group-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.sidebar .list-group-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: 0;
} */

}
/* Make Contact & Address show hand cursor */
#dashboardTabBar .nav-link,
#dashboardTabBar .fluent-tab-label {
  cursor: pointer;
}

/* Close button (whatever element you use) */
.close-button {
  cursor: pointer;
  --bs-btn-close-color: #fff;
}
/* Adjust selector to match your modal id if different */
#AddPrimaryPartyModal .modal-body iframe {
  height: 607px !important;   /* override inline 467px */
  width: 100%;
  border: 0;
}
/* Make the close icon white and clickable-hand */
.close-button.btn-close {
  cursor: pointer;
  color: #ffffff;
}

/* ===================================================== */
/* #region Case/Request Summary Cards */
/* ===================================================== */

.case-summary-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

.case-summary-card + .case-summary-card {
  margin-top: 1rem;
}

.case-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #212529;
  background-color: #ffffff;
  padding: 12px 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 1px solid #dee2e6;
}

.case-summary-header i {
  color: #0a2e6b;
  font-size: 1.1rem;
}

.case-summary-card .card-body {
  padding: 16px;
  background-color: #ffffff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.case-field {
  margin-bottom: 12px;
}

.case-field:last-child {
  margin-bottom: 0;
}

.case-field .label {
  font-size: 0.85rem;
  color: #212529;
  font-weight: 600;
}

.case-field .value {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 400;
}

/* #endregion */

/* ==========================
Unified boolean/radio focus
========================== */

/* Remove mixed outlines/box-shadows coming from different frameworks */
#main input[type="radio"]:focus {
outline: none !important;
box-shadow: none !important;
}

/* Use one consistent accessible keyboard focus style */
#main input[type="radio"]:focus-visible {
outline: 3px solid rgba(13, 110, 253, 0.65) !important;
outline-offset: 3px !important;
}

/* Unify “checked dot” color in modern browsers */
#main input[type="radio"] {
accent-color: #0d6efd;
}
