:root {
  /* Supreme theme (common across pages) */
  --brand-primary: #00B0F0;          /* header & buttons */
  --brand-primary-hover: #0095cc;    /* hover for buttons/links */
  --accent-green: #96CA53;           /* secondary accent */
  --bg-soft: #f5f7fb;                /* page background */
  --nav-h: 56px;                     /* navbar height */
  --sidebar-w: 260px;                /* sidebar width (lg+) */
}

html, body { height: 100%; }
body { background: var(--bg-soft); }

/* ========== NAV / HEADER ========== */
.brand-nav { background: var(--brand-primary); }
.navbar .nav-link,
.navbar .navbar-brand { color: #fff !important; }
.brand-logo { height: 32px; width: auto; }
.brand-badge {
  background: var(--accent-green);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  font-size: .75rem;
}

/* ========== AUTH (Sign In/Up) ========== */
.auth-hero, .signup-hero, .login-hero {
  min-height: 60vh;
  background: linear-gradient(180deg, rgba(0,176,240,.12), transparent 40%);
}
.auth-card, .signup-card, .login-card { border-radius: 1rem; background: #fff; }
.logo-inline { height: 56px; width: auto; }

/* Buttons */
.btn-brand { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-primary-hover); border-color: var(--brand-primary-hover); color: #fff;
}

/* Links */
.link-brand { color: var(--brand-primary); text-decoration: none; }
.link-brand:hover { color: var(--brand-primary-hover); text-decoration: underline; }

/* Form utilities */
.strength-meter { height: 6px; background: #e9ecef; border-radius: 999px; overflow: hidden; }
.strength-meter > div { height: 100%; width: 0%; transition: width .25s ease; }

/* ========== LAYOUT (Sidebar + Content) ========== */
/* Only apply navbar/left padding on pages that use the sidebar layout */
.sidebar-layout { padding-top: var(--nav-h); }
@media (min-width: 992px) {
  .sidebar-layout { padding-left: var(--sidebar-w); }
}

.sidebar {
  position: fixed;
  top: var(--nav-h);
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  overflow-y: auto;
  transform: translateX(-100%); /* hidden by default for mobile */
  transition: transform .25s ease;
  z-index: 1030;
  background: #fff;
}
/* Desktop: sidebar always visible */
@media (min-width: 992px) {
  .sidebar { transform: translateX(0); }
}

/* Sidebar inner structure */
.sidebar-inner { height: 100%; display: flex; flex-direction: column; padding: .5rem; }
.sidebar-link {
  padding: .65rem .75rem;
  border-radius: .5rem;
  color: #334155;
}
.sidebar-link:hover { background: rgba(0,176,240,.08); color: #0b1324; }
.sidebar-link.active, .sidebar-sublink.active { background: rgba(0,176,240,.12); color: #0b1324; border: 1px solid rgba(0,176,240,.25); }
.sidebar-sublink {
  padding: .5rem 1.75rem;
  color: #475569;
}
.sidebar-sublink:hover { background: rgba(0,176,240,.06); color: #0b1324; }

/* Backdrop for mobile sidebar */
.sidebar-backdrop {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(15,23,42,.35);
  z-index: 1029;
  display: none;
}
.sidebar-backdrop.show { display: block; }

/* Content Area */
.content-area { min-height: calc(100vh - var(--nav-h)); }
.content-area .card { border-radius: 1rem; }

/* Small devices fine-tuning */
@media (max-width: 575.98px) {
  .signup-card, .login-card, .auth-card { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
  .brand-logo { height: 28px; }
  .logo-inline { height: 44px; }
}


/* Mobile hamburger alignment & visibility */
.brand-nav .navbar-toggler {
  border-color: rgba(255,255,255,.6);
  padding: .25rem .5rem;
}
.brand-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 .15rem rgba(255,255,255,.35);
}

/* ===== Page content utilities (minimal, reusable) ===== */
.page-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; margin-bottom:1rem;
}
.page-title{ margin:0; }
.page-subtitle{ margin:0; color:#64748b; font-size:.95rem; }
.page-actions{ display:flex; gap:.5rem; flex-wrap:wrap; }
.section-card{ border-radius:1rem; }

/* Sticky header (optional) */
.page-header.sticky{
  position:sticky; top: calc(var(--nav-h) + .5rem);
  z-index: 10; background: transparent;
}
.page-header.elevated .shadow-on-scroll{ box-shadow: 0 10px 30px rgba(0,0,0,.06); }

/* Simple stat cards */
.stat-card .label{ color:#64748b; font-size:.85rem; }
.stat-card .value{ font-weight:600; font-size:1.35rem; }




/* shayas */
.invalid-feedback-custom{
        width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
    
}

.input-error
{
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

 #map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
}

 .idpc-select {
    border: 1px solid #C4C4C4;
    font-size: 14px;
    color: #242424;
    height: 36px;
    width: 100%;
    margin-top: 3px;
}

.Zebra_DatePicker_Icon_Wrapper
{
    width: 100% !important;
}

.Zebra_DatePicker_Icon
{
    top: 12px !important;
}

.password_info_icon
{
    position : absolute;
    right: 45px;
    top: 7px;
}

.custom_tooltip {
 // position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip text */
.custom_tooltip .tooltip-text {
  visibility: hidden;
  width: 275px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* position above the element */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
}

/* Arrow */
.custom_tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* bottom of tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show tooltip text when hovering */
.custom_tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}