/**
 * UI smoothness layer — transitions, motion, softer surfaces.
 * Loaded last so it can refine existing brand styles without a full redesign.
 */

:root {
  --ir-blue: #1c7cd5;
  --ir-blue-deep: #1565b0;
  --ir-ink: #1a1a1a;
  --ir-muted: #5c6670;
  --ir-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ir-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ir-duration: 0.35s;
  --ir-duration-fast: 0.2s;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--ir-ink);
}

a {
  transition: color var(--ir-duration-fast) var(--ir-ease),
    opacity var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease);
}

img {
  max-width: 100%;
}

/* ——— Nav ——— */
#header-nav {
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  transition: background-color var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease),
    backdrop-filter var(--ir-duration) var(--ir-ease);
  padding: 0.55rem 1.25rem !important;
}

#header-nav .mylogo {
  transition: transform var(--ir-duration-fast) var(--ir-ease);
}

#header-nav .mylogo:hover {
  transform: scale(1.04);
}

#header-nav .nav-a,
#header-nav .nav-link:not(.btn-ires-sm) {
  position: relative;
  border-radius: 6px;
  transition: color var(--ir-duration-fast) var(--ir-ease),
    background-color var(--ir-duration-fast) var(--ir-ease) !important;
}

#header-nav .nav-a::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ir-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ir-duration) var(--ir-ease-out);
}

#header-nav .nav-a:hover::after,
#header-nav .nav-a.active::after,
#header-nav .active > .nav-a::after {
  transform: scaleX(1);
}

#header-nav .navbar-nav .nav-a.active,
#header-nav .navbar-nav .active > .nav-a,
#header-nav .navbar-nav .nav-a.show {
  border-bottom: none !important;
}

#header-nav .btn-ires-sm {
  margin-top: 0 !important;
  margin-left: 0.25rem;
  letter-spacing: 0.02em;
  color: #fff !important;
  background-color: #1C7CD5 !important;
  box-shadow: 0 1px 2px rgba(28, 124, 213, 0.2);
  transition: background-color var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease) !important;
}

#header-nav .btn-ires-sm:hover {
  background-color: var(--ir-blue-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(28, 124, 213, 0.28);
  color: #fff !important;
}

#header-nav .btn-ires-sm.btn-ires-outline {
  color: #1C7CD5 !important;
  background-color: #e8f3fb !important;
  border: 1px solid #1C7CD5 !important;
  box-shadow: none;
}

#header-nav .btn-ires-sm.btn-ires-outline:hover {
  color: #fff !important;
  background-color: #1C7CD5 !important;
}

#header-nav .btn-ires-sm:active {
  transform: translateY(0);
}

#header-nav .dropdown-menu {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.4rem;
  margin-top: 0.35rem;
  animation: ir-fade-up 0.22s var(--ir-ease-out);
}

#header-nav .dropdown-item {
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  transition: background-color var(--ir-duration-fast) var(--ir-ease),
    color var(--ir-duration-fast) var(--ir-ease);
}

/* ——— Buttons ——— */
.btn-ires-sm,
.btn-ires-md,
.btn-ires-lg,
.btn-report-incident,
.btn-subscribe {
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.03em;
  transition: background-color var(--ir-duration) var(--ir-ease),
    color var(--ir-duration) var(--ir-ease),
    border-color var(--ir-duration) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease),
    opacity var(--ir-duration-fast) var(--ir-ease) !important;
}

.btn-ires-md,
.btn-ires-lg {
  padding: 0.55rem 1.4rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(28, 124, 213, 0.22);
}

.btn-ires-md:hover,
.btn-ires-lg:hover {
  background-color: var(--ir-blue-deep) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 124, 213, 0.3);
  text-decoration: none;
}

.btn-ires-md:active,
.btn-ires-lg:active {
  transform: translateY(0);
}

.btn-report-incident {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.5rem 1.35rem;
  margin-left: 0.5rem;
  box-shadow: none;
}

.btn-report-incident:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-subscribe:hover {
  background-color: #f0f7ff !important;
  color: var(--ir-blue) !important;
  transform: translateY(-1px);
}

.btn-outline-primary.btn-ires-lg {
  background: transparent !important;
  border: 1.5px solid var(--ir-blue) !important;
  color: var(--ir-blue) !important;
  box-shadow: none;
}

.btn-outline-primary.btn-ires-lg:hover {
  background: var(--ir-blue) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 124, 213, 0.25);
}

/* ——— Hero ——— */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: min(90vh, 820px);
}

.home-bg-imgg,
.home-bg-img {
  height: min(90vh, 820px);
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  animation: ir-hero-ken 18s var(--ir-ease) alternate infinite;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.15) 0%,
    rgba(10, 22, 40, 0.35) 55%,
    rgba(10, 22, 40, 0.55) 100%
  );
  pointer-events: none;
}

.upper-img-div-parent {
  z-index: 1;
  padding: 0 1rem;
}

.upper-img-div-index {
  background: rgba(12, 20, 32, 0.48) !important;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px !important;
  padding: 2.25rem 1.75rem 2rem !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  animation: ir-fade-up 0.7s var(--ir-ease-out) both;
}

.upper-img-div-index h1 {
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.upper-img-div-index p {
  margin-top: 0.75rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.upper-img-div-index .btn {
  margin-top: 0.35rem !important;
}

@media (max-width: 575.98px) {
  .btn-report-incident {
    margin-left: 0;
    margin-top: 0.5rem !important;
  }

  .upper-img-div-index {
    padding: 1.5rem 1.1rem 1.35rem !important;
  }
}

/* ——— Home content ——— */
.home-section {
  width: 100%;
  padding: 3.5rem 1rem 1rem;
}

.home-banner {
  background: linear-gradient(145deg, #e8f2fa 0%, #e5eff5 50%, #ddebf5 100%);
  padding: 2.75rem 0;
  border-radius: 0;
}

.home-banner .container {
  max-width: 820px;
}

.home-banner .home-banner-title {
  width: min(70%, 36rem);
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .home-banner .home-banner-title {
    width: 100%;
  }
}

.home-banner h3 {
  line-height: 1.35;
  color: var(--ir-ink);
  margin-bottom: 1rem;
}

.home-banner p {
  color: var(--ir-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.home-banner .banner-content-line {
  width: 64px !important;
  height: 3px;
  margin: 0 auto 1.5rem !important;
  background: var(--ir-blue);
  border-radius: 2px;
  border: none;
}

.features {
  margin-top: 4rem !important;
  margin-bottom: 1rem;
  gap: 1rem 0;
}

.feature-box {
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  transition: transform var(--ir-duration) var(--ir-ease),
    background-color var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease);
}

.feature-box:hover {
  transform: translateY(-6px);
  background: #f7fafc;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.feature-box img {
  transition: transform var(--ir-duration) var(--ir-ease);
}

.feature-box:hover img {
  transform: translateY(-4px) scale(1.04);
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--ir-ink);
}

.feature-box p {
  color: var(--ir-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Banner / how it works ——— */
.banner-parent {
  position: relative;
  overflow: hidden;
}

.banner-parent .banner {
  transition: transform 8s var(--ir-ease);
}

.banner-parent:hover .banner {
  transform: scale(1.03);
}

.banner-content {
  animation: ir-fade-up 0.6s var(--ir-ease-out) both;
}

.banner-content h3 {
  letter-spacing: 0.04em;
}

.banner-content-line {
  transition: width var(--ir-duration) var(--ir-ease);
}

.banner-content .btn {
  margin-top: 0.5rem;
}

/* ——— Footer ——— */
footer {
  background: linear-gradient(180deg, #1a74c7 0%, #1c7cd5 40%, #186db8 100%) !important;
}

footer a.footer-link {
  opacity: 0.9;
  transition: opacity var(--ir-duration-fast) var(--ir-ease),
    padding-left var(--ir-duration-fast) var(--ir-ease);
  display: inline-block;
}

footer a.footer-link:hover {
  opacity: 1;
  padding-left: 4px;
  text-decoration: none;
}

.newsletter-email {
  transition: border-color var(--ir-duration-fast) var(--ir-ease),
    background-color var(--ir-duration-fast) var(--ir-ease);
}

.newsletter-email:focus {
  border-bottom-color: #fff !important;
  outline: none;
}

.social-icon {
  transition: transform var(--ir-duration-fast) var(--ir-ease),
    opacity var(--ir-duration-fast) var(--ir-ease);
  opacity: 0.9;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* ——— Forms & panels (global) ——— */
.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  transition: border-color var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease);
}

.form-control:focus {
  border-color: rgba(28, 124, 213, 0.55);
  box-shadow: 0 0 0 3px rgba(28, 124, 213, 0.15);
}

.card,
.panel,
.ap-panel {
  transition: box-shadow var(--ir-duration) var(--ir-ease),
    transform var(--ir-duration) var(--ir-ease),
    border-color var(--ir-duration) var(--ir-ease);
}

.ap-panel {
  border-radius: 12px;
}

.ap-panel:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ap-table tbody tr {
  transition: background-color var(--ir-duration-fast) var(--ir-ease);
}

.ap-banner {
  border-radius: 0 10px 10px 0;
}

.alert {
  border-radius: 10px;
  transition: opacity var(--ir-duration) var(--ir-ease),
    transform var(--ir-duration) var(--ir-ease);
}

/* ——— Page surfaces ——— */
.about-content,
.contact-form,
.privacy-content {
  line-height: 1.7;
}

.privacy-content h1 {
  letter-spacing: 0.02em;
}

.privacy-content .legal-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.privacy-content .legal-body p {
  margin-bottom: 0.9rem;
}

.privacy-content .legal-summary {
  background: #e5eff5;
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
}

.privacy-content .legal-summary h3 {
  margin-top: 0;
}

.privacy-content .tou-ul,
.privacy-content .tou-ul2 {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1rem;
}

.privacy-content .tou-ul li,
.privacy-content .tou-ul2 li {
  margin-bottom: 0.4rem;
}

#main-container .container,
#main-container .container-fluid > .row {
  scroll-margin-top: 88px;
}

/* ——— Auth / forms pages ——— */
.login-box,
.register-box,
.auth-card {
  transition: box-shadow var(--ir-duration) var(--ir-ease);
}

.auth-card .form-group label {
  font-weight: 600;
  color: #3a2f2a;
}

.auth-card .form-control:focus {
  border-color: #c47a4a;
  box-shadow: 0 0 0 3px rgba(196, 122, 74, 0.15);
}

/* ——— Form validation feedback ——— */
.form-control.invalid,
.form-control.is-invalid,
textarea.form-control.invalid,
textarea.form-control.is-invalid,
select.form-control.invalid,
select.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-control.invalid ~ .invalid-feedback {
  display: block;
}

/* ——— Wizard / report form ——— */
.tabButton .tablinks,
.tabButton .tabRadio {
  border-radius: 999px !important;
  border: 1.5px solid rgba(28, 124, 213, 0.35);
  padding: 0.45rem 1.1rem;
  transition: background-color var(--ir-duration-fast) var(--ir-ease),
    border-color var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease);
}

.tabButton .tablinks.active,
.tabButton .tabRadio.active {
  background: rgba(28, 124, 213, 0.1) !important;
  border-color: var(--ir-blue) !important;
  box-shadow: 0 4px 14px rgba(28, 124, 213, 0.18);
}

.tabButton .tablinks:hover,
.tabButton .tabRadio:hover {
  transform: translateY(-1px);
  border-color: var(--ir-blue);
}

.col-step {
  transition: opacity var(--ir-duration) var(--ir-ease);
}

.col-step .circle {
  transition: background-color var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease),
    transform var(--ir-duration) var(--ir-ease);
}

.col-step.active .circle {
  box-shadow: 0 0 0 4px rgba(28, 124, 213, 0.18);
  transform: scale(1.05);
}

.btn-dbrown,
.btn-dbrown-fill {
  transition: background-color var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease) !important;
}

.btn-plus {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  line-height: 1;
  background: var(--ir-blue);
  color: #fff !important;
  transition: transform var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease);
}

.btn-plus:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(28, 124, 213, 0.28);
  color: #fff !important;
}

/* ——— Keyframes ——— */
@keyframes ir-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ir-hero-ken {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-bg-imgg,
  .home-bg-img {
    animation: none;
    transform: none;
  }

  .upper-img-div-index,
  .banner-content {
    animation: none;
  }

  .banner-parent:hover .banner {
    transform: none;
  }
}

/* ——— Responsive polish ——— */

/* Dashboard sidebar: keep visible on tablet+ (collapse only on phones) */
@media (min-width: 576px) {
  #dash_collapse.dash-sidebar-section.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
}

@media (max-width: 575.98px) {
  #dash_collapse.dash-sidebar-section.collapse:not(.show) {
    display: none !important;
  }

  .dash-content-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .user-dashboard-heading h1 {
    font-size: 1.35rem;
    padding-top: 0.75rem !important;
  }

  .btn.mobile {
    margin: 0.5rem 0.75rem;
  }
}

/* Dashboard / claim tables: horizontal scroll instead of page overflow */
.draft_section,
.dash-table-main,
.dash-table,
.alerts_main,
.claim-detail-panel,
.ap-wrap {
  max-width: 100%;
}

.draft_section > [class*="col-"],
.dash-table-main,
.dash-table,
.ap-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.ap-table-dash {
  min-width: 520px;
}

.ap-table-dash .btn-ires-md,
.ap-table-dash .btn-ires-sm {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .ap-table-dash .btn-ires-md,
  .ap-table-dash .btn-ires-sm {
    display: inline-block;
    margin: 0.15rem 0.1rem !important;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

/* Wizard step bar: scrollable on small screens */
@media (max-width: 767.98px) {
  .row-steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row-steps .col-step,
  .row-steps .text-center {
    flex: 0 0 auto;
    min-width: 4.5rem;
    max-width: none;
    width: auto !important;
  }

  .row-steps .col-step p {
    font-size: 0.62rem;
    line-height: 1.25;
    white-space: nowrap;
  }

  .row-steps .col-step img {
    width: 14px;
    height: auto;
  }
}

/* Auth split layout: avoid 100vh + fixed header double scroll */
@media (max-width: 767.98px) {
  .login-img-parent {
    height: auto !important;
    min-height: 0;
    padding: 1.5rem 1rem 2rem;
    background-position: center;
  }

  .login-img-parent .upper-img-div.mt-10 {
    margin-top: 0.75rem !important;
  }

  .login-img-parent .upper-img-div .pr-5,
  .login-img-parent .upper-img-div .pr-lg-5 {
    padding-right: 0 !important;
  }

  .login-img-parent .upper-img-div h2 {
    font-size: 1.35rem;
  }

  .color-dbrown.pt-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  .color-dbrown > .row.mt-5,
  .color-dbrown .row.mt-5 {
    margin-top: 0.75rem !important;
  }

  .auth-card {
    padding: 0 0.25rem;
  }

  .auth-card h2 {
    font-size: 1.5rem;
  }

  .auth-card .btn-ires-lg,
  .color-dbrown .btn-ires-lg.w-100 {
    width: 100%;
  }
}

/* Claim detail: stack identity columns; wrap long emails */
.claim-detail-panel,
.container.color-dbrown {
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .claim-detail-panel .row > .col,
  .claim-detail-panel .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 0.65rem;
  }

  .claim-detail-panel .ap-actions,
  .claim-detail-panel .btn-ires-sm + .btn-ires-sm {
    margin-left: 0;
  }

  .claim-detail-panel .btn-ires-sm,
  .claim-detail-panel .btn-ires-md {
    display: inline-block;
    margin: 0.25rem 0.25rem 0.25rem 0;
  }

  .ap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .ap-actions .btn-ires-sm,
  .ap-actions .btn-ires-md {
    flex: 1 1 auto;
    text-align: center;
    min-width: calc(50% - 0.4rem);
  }
}

/* Floated tab / wizard controls → stacked on phones */
@media (max-width: 575.98px) {
  .tabButton {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    float: none;
    width: 100%;
  }

  .tabButton button,
  .tabButton .tablinks,
  .tabButton .tabRadio {
    float: none !important;
    width: 100%;
    margin-right: 0 !important;
    text-align: center;
  }

  #regForm #prevBtn,
  #regForm #nextBtn,
  #regForm #draftBtn,
  #prevBtn,
  #nextBtn,
  #draftBtn {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 0 0.5rem !important;
  }

  .float-left.btn-dbrown,
  .float-right.btn-dbrown,
  .float-left.btn-dbrown-fill,
  .float-right.btn-dbrown-fill,
  .float-left.btn-ires-md,
  .float-right.btn-ires-md,
  .float-left.btn-ires-lg,
  .float-right.btn-ires-lg {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 0 0.5rem !important;
    text-align: center;
  }
}

/* Mobile nav CTAs + nested dropdowns */
@media (max-width: 991.98px) {
  #header-nav {
    padding: 0.4rem 0.85rem !important;
  }

  #header-nav .navbar-nav .btn-ires-sm,
  #header-nav .nav-item .btn-ires-sm {
    margin: 0.35rem 0 0 !important;
    width: 100%;
    text-align: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #header-nav .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding-left: 0.5rem;
  }

  #header-nav .nav-a::after {
    display: none;
  }

  .upper-img-div-parent {
    padding: 0 0.75rem;
  }

  .upper-img-div h1,
  .upper-img-div-index h1 {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  .home-section {
    padding: 2.25rem 0.75rem 0.75rem;
  }

  .features {
    margin-top: 2.5rem !important;
  }

  .feature-box {
    margin-bottom: 0.5rem;
  }

  .privacy-content,
  .contact-form {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .privacy-content .legal-summary {
    padding: 1rem;
  }

  footer .row > [class*="col-"] {
    margin-bottom: 1.25rem;
  }

  .newsletter-email {
    max-width: 100%;
  }
}

/* Admin process / mediation / testimony panels */
@media (max-width: 767.98px) {
  .ap-wrap,
  .ap-wrap--wide {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .ap-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .ap-form-actions .btn,
  .ap-form-actions .btn-ires-md,
  .ap-form-actions .btn-ires-lg {
    width: 100%;
    text-align: center;
  }

  .ap-steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.35rem;
  }

  .ap-step {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .ap-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-attention__head {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
}

/* Generic overflow safety */
#main-container,
.dash-content-section,
.container,
.container-fluid {
  overflow-x: hidden;
}

@media (max-width: 575.98px) {
  .home-hero,
  .home-bg-imgg,
  .home-bg-img {
    min-height: 70vh;
    height: 70vh;
  }

  .btn-ires-lg {
    width: 100%;
    text-align: center;
  }

  .w-8 {
    width: 2.5rem !important;
  }
}

/* ——— Deeper polish pass ——— */

.hero-lead {
  margin: 0.85rem auto 1.35rem !important;
  max-width: 34rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-cta .btn {
  margin: 0 !important;
}

.hero-cta--banner {
  justify-content: flex-start;
  margin-top: 1rem;
}

.hero-cta--banner .btn-outline-primary.btn-ires-lg {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: #fff !important;
  color: var(--ir-blue) !important;
}

.hero-cta--banner .btn-outline-primary.btn-ires-lg:hover {
  background: #fff !important;
  color: var(--ir-blue-deep) !important;
}

.feature-icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: linear-gradient(160deg, #f4f8fc 0%, #e8f1f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.video-section {
  padding: 2.5rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.video-section-inner {
  width: 100%;
}

.video-logo {
  max-width: min(280px, 70vw);
  margin-bottom: 0.75rem;
}

.video-caption {
  opacity: 0.85;
  letter-spacing: 0.01em;
}

/* Dashboard stat tiles */
.dash-content-section {
  background: linear-gradient(180deg, #f5f7fa 0%, #f8f8f8 40%, #f8f8f8 100%) !important;
}

.user-dashboard-heading h1 {
  letter-spacing: -0.02em;
  color: #1f2937 !important;
}

.harassment-content,
.discrimination-content,
.assault-content,
.open-content,
.closed-content {
  border-radius: 12px;
  padding: 1.15rem 1.1rem 1.05rem;
  margin: 0.35rem 0.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease);
}

.harassment-content:hover,
.discrimination-content:hover,
.assault-content:hover,
.open-content:hover,
.closed-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.harassment-content h5,
.discrimination-content h5,
.assault-content h5,
.open-content h5,
.closed-content h5 {
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #111827;
}

.harassment-content p,
.discrimination-content p,
.assault-content p,
.open-content p,
.closed-content p {
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.draft_section_heading,
.dash-table-main h4,
.dash-content > h3 {
  font-weight: 600;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.dash-sidebar-section {
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.05);
}

.dash-side-link {
  border-radius: 10px;
  margin: 0.15rem 0.35rem;
  transition: background-color var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease);
}

.dash-side-link:hover {
  background: #f3f6f9;
  transform: translateX(2px);
}

/* Flash toasts */
.alert-absolute {
  top: calc(var(--ir-header-offset, 72px) + 12px) !important;
  animation: ir-toast-in 0.35s var(--ir-ease-out) both;
  border: 0 !important;
  font-size: 0.95rem;
  padding: 0.85rem 2.5rem 0.85rem 1.1rem;
}

.alert-absolute .close {
  opacity: 0.55;
  text-shadow: none;
  padding: 0.85rem 0.9rem;
}

.alert-absolute.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-left: 4px solid #10b981 !important;
}

.alert-absolute.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444 !important;
}

.alert-absolute.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid #f59e0b !important;
}

.alert-absolute.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #3b82f6 !important;
}

@keyframes ir-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Contact / register / business forms */
.contact-form h2,
.container.margin-bottom-50 > h2,
.color-dbrown > h2 {
  letter-spacing: -0.02em;
}

.contact-form .form-control,
#registerForm .form-control,
#passwordResetForm .form-control,
#forgotPasswordForm .form-control {
  border-radius: 8px;
  min-height: 42px;
}

.contact-form textarea.form-control {
  min-height: 120px;
}

/* How-it-works banner overlay readability on small screens */
@media (max-width: 767.98px) {
  .banner-parent {
    min-height: 320px;
  }

  .banner-parent .banner {
    min-height: 320px;
    object-fit: cover;
  }

  .banner-content {
    padding: 1.5rem 0.5rem 2rem;
  }

  .banner-content h3 {
    font-size: 1.35rem;
  }

  .banner-content h5 {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-cta--banner {
    justify-content: stretch;
    flex-direction: column;
  }

  .hero-cta--banner .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .feature-icon {
    width: 96px;
    height: 96px;
  }
}

/* DataTables / search polish */
.dataTables_wrapper .dataTables_filter input,
.text-search {
  border-radius: 8px !important;
  border: 1px solid #d1d5db;
  padding: 0.45rem 0.75rem;
  transition: border-color var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease);
}

.dataTables_wrapper .dataTables_filter input:focus,
.text-search:focus {
  border-color: rgba(28, 124, 213, 0.55);
  box-shadow: 0 0 0 3px rgba(28, 124, 213, 0.12);
  outline: none;
}

/* Footer polish */
footer {
  padding-top: 0.5rem;
}

.upper-footer {
  padding-bottom: 0.5rem;
}

.lower-footer {
  padding: 1rem 1.25rem;
  align-items: center;
}

.footer-copyright {
  margin-bottom: 0;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .footer-social {
    text-align: center !important;
    margin-top: 0.75rem;
  }

  .lower-footer .col-md-3,
  .lower-footer .col-md-5 {
    text-align: center;
  }

  .newsletter-email {
    width: 100% !important;
  }

  .btn-subscribe {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alert-absolute {
    animation: none;
  }

  .harassment-content:hover,
  .discrimination-content:hover,
  .assault-content:hover,
  .open-content:hover,
  .closed-content:hover {
    transform: none;
  }
}

/* ——— Marketing / about / business / contact ——— */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero .home-bg-img,
.page-hero.home-hero {
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
}

.page-hero--short .home-bg-img,
.page-hero--short.home-hero {
  min-height: min(48vh, 420px);
  height: min(48vh, 420px);
}

.marketing-section {
  padding: 3.5rem 1.25rem;
  background: #fff;
}

.marketing-section--muted {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
}

.marketing-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.marketing-copy {
  color: var(--ir-muted);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 38rem;
}

.marketing-list {
  padding-left: 1.15rem;
  margin: 1rem 0 0;
  color: var(--ir-muted);
  line-height: 1.7;
}

.marketing-list li {
  margin-bottom: 0.75rem;
}

.marketing-list li::marker {
  color: var(--ir-blue);
}

.marketing-visual {
  max-width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(15, 23, 42, 0.1));
}

.banner-content-line.ml-0 {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.hero-cta--start {
  justify-content: flex-start;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.about-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.about-card p {
  margin-bottom: 0;
  color: var(--ir-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-aside,
.contact-form-panel {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  height: 100%;
}

.contact-aside a {
  color: var(--ir-blue);
}

.contact-form-panel h2 {
  font-size: 1.35rem;
}

/* Admin process form controls */
.ap-wrap .form-control,
.ap-panel .form-control {
  border-radius: 8px;
  min-height: 42px;
}

.ap-wrap textarea.form-control {
  min-height: 110px;
}

.ap-panel {
  margin-bottom: 1.15rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.ap-panel--plain {
  box-shadow: none;
  background: #f9fafb;
}

.ap-banner {
  background: linear-gradient(90deg, rgba(28, 124, 213, 0.1), rgba(28, 124, 213, 0.04));
  border-left: 4px solid var(--ir-blue);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: #1e3a5f;
}

/* Select2 soft match */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-radius: 8px !important;
  min-height: 42px;
  border-color: #ced4da !important;
  padding: 0.2rem 0.35rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: rgba(28, 124, 213, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(28, 124, 213, 0.12);
}

/* Register / business form containers */
#registerForm,
#businessForm,
.container.margin-bottom-50.color-dbrown {
  max-width: 960px;
}

.container.margin-bottom-50.color-dbrown > h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .page-hero .home-bg-img,
  .page-hero.home-hero {
    min-height: 52vh;
    height: 52vh;
  }

  .marketing-section {
    padding: 2.25rem 1rem;
  }

  .about-card:hover {
    transform: none;
  }

  .contact-form {
    margin-top: 2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card:hover {
    transform: none;
  }
}

/* ——— Form shells (register / business) ——— */

.form-shell {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.form-shell__intro {
  margin-bottom: 1.25rem;
}

.form-shell__intro h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1f2937;
  margin-bottom: 0.4rem;
}

.form-shell__lead {
  color: #6b7280;
  margin-bottom: 0;
  max-width: 36rem;
  line-height: 1.55;
}

.form-shell__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 1.35rem 1.25rem 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.form-shell__section {
  font-weight: 650;
  color: #374151;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.form-shell__divider {
  border: 0;
  border-top: 1px solid #eef2f7;
  margin: 1.25rem 0;
}

.form-shell .form-control {
  border-radius: 8px;
  min-height: 42px;
}

.form-shell label {
  font-weight: 600;
  color: #374151;
  font-size: 0.92rem;
}

.ap-intro h2 {
  letter-spacing: -0.02em;
}

.ap-table thead th {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .form-shell__card {
    padding: 1.1rem 0.9rem 1.25rem;
  }

  .msg-thread {
    padding: 1rem 0.85rem;
  }

  .msg-bubble__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Auth + account settings ——— */

.auth-card__lead {
  color: #6b7280;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.auth-link {
  color: var(--ir-blue);
  font-weight: 500;
}

.auth-link:hover {
  color: var(--ir-blue-deep);
  text-decoration: none;
}

.auth-promo h2 {
  letter-spacing: -0.02em;
}

.auth-card .form-control {
  border-radius: 8px;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
}

.auth-card .checkbox label {
  font-weight: 500;
  color: #4b5563;
}

.settings-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: #eef2f7;
  padding: 0.3rem;
  border-radius: 999px;
}

.settings-tab {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.settings-tab.is-active {
  background: #fff;
  color: #1c7cd5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.setting-content .form-control,
.setting-content .long-input {
  border-radius: 8px;
  max-width: 420px;
}

.setting-content .non-fill {
  background: #f3f4f6;
  color: #6b7280;
}

.setting-content label {
  font-weight: 600;
  color: #374151;
}

.row-steps {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 0.75rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

@media (max-width: 575.98px) {
  .settings-tabs {
    width: 100%;
    border-radius: 12px;
  }

  .settings-tab {
    flex: 1 1 auto;
    text-align: center;
    border-radius: 10px;
  }
}

/* ——— Public report pathways ——— */
.pathway-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.pathway-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ir-muted);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pathway-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 1.5rem 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  color: inherit;
  text-decoration: none !important;
  transition: transform var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease),
    border-color var(--ir-duration) var(--ir-ease);
  animation: ap-fade-in 0.45s var(--ir-ease) both;
}

.pathway-card:nth-child(1) { animation-delay: 0.05s; }
.pathway-card:nth-child(2) { animation-delay: 0.12s; }
.pathway-card:nth-child(3) { animation-delay: 0.19s; }

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  border-color: rgba(28, 124, 213, 0.28);
  color: inherit;
}

.pathway-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: rgba(28, 124, 213, 0.1);
  color: var(--ir-blue-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.pathway-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
  color: #111827;
}

.pathway-card p {
  margin: 0 0 1.1rem;
  color: var(--ir-muted);
  line-height: 1.55;
  flex: 1 1 auto;
}

.pathway-card__cta {
  font-weight: 600;
  color: var(--ir-blue);
  font-size: 0.95rem;
}

.pathway-card:hover .pathway-card__cta {
  color: var(--ir-blue-deep);
}

.pathway-note {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  color: var(--ir-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: 0;
  }
}



.pathway-title {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: 1.45rem;
  line-height: 1.3;
  color: #111827;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.billing-page-lead {
  margin: 0.35rem 0 0;
  color: var(--ir-muted);
  font-size: 1rem;
  font-weight: 400;
  max-width: 36rem;
}

.user-dashboard-heading {
  margin-bottom: 1.25rem !important;
}

/* Client dashboard claim tiles */
.client-dash-content {
  margin-bottom: 1.5rem;
}

.dash-section-head {
  margin-bottom: 0.85rem;
}

.dash-section-head h3,
.dash-section-head h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
}

.dash-section-head p {
  margin: 0.25rem 0 0;
  color: var(--ir-muted);
  font-size: 0.92rem;
}

.claim-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.status-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 124, 213, 0.18);
  transition: transform var(--ir-duration) var(--ir-ease),
    box-shadow var(--ir-duration) var(--ir-ease);
  animation: ap-fade-in 0.4s var(--ir-ease) both;
}

.status-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(28, 124, 213, 0.22);
}

.status-tile--posted { background: linear-gradient(145deg, #3b93e0, #1c7cd5); animation-delay: 0.02s; }
.status-tile--reposted { background: linear-gradient(145deg, #4aa0e8, #2086df); animation-delay: 0.06s; }
.status-tile--review { background: linear-gradient(145deg, #5aabed, #2a8fe3); animation-delay: 0.1s; }
.status-tile--suspended { background: linear-gradient(145deg, #6bb3ef, #3797e6); animation-delay: 0.14s; }

.status-tile__label {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.95;
}

.status-tile__count {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.claim-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.35rem;
}

.dash-chart-card,
.dash-claims-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.status-chart,
.type-chart {
  background: transparent !important;
  min-height: 260px;
  border-radius: 12px;
}

.dash-claims-panel .dash-section-head {
  padding-left: 0.15rem;
}

.dash-side-link .side-des {
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #64748b;
}

.dash-side-link.is-active .side-des {
  color: #1c7cd5 !important;
}

@media (max-width: 991.98px) {
  .claim-status-grid,
  .claim-charts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .claim-status-grid,
  .claim-charts {
    grid-template-columns: 1fr;
  }
}

/* ——— Billing page ——— */
.billing-page {
  padding-bottom: 1.5rem;
}

.billing-hero,
.billing-panel--lift,
.billing-dash-card {
  animation: ap-fade-in 0.45s var(--ir-ease) both;
}

.billing-panel--lift:nth-child(1) { animation-delay: 0.05s; }
.billing-panel--lift:nth-child(2) { animation-delay: 0.1s; }

.billing-hero {
  display: grid;
  grid-template-columns: 1.45fr minmax(240px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.55rem 1.6rem;
  margin-bottom: 1.1rem;
  background:
    radial-gradient(1200px 280px at 100% -20%, rgba(28, 124, 213, 0.12), transparent 55%),
    linear-gradient(145deg, #f8fbff 0%, #ffffff 48%, #f7f9fc 100%);
  border: 1px solid rgba(28, 124, 213, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.billing-hero__label {
  margin: 0 0 0.3rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ir-muted);
  font-weight: 700;
}

.billing-hero h2 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  line-height: 1.2;
  color: #111827;
}

.billing-hero__copy {
  margin: 0 0 0.95rem;
  color: var(--ir-muted);
  max-width: 36rem;
  line-height: 1.55;
  font-size: 0.98rem;
}

.billing-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.billing-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #374151;
  font-size: 0.86rem;
  font-weight: 600;
}

.billing-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.billing-hero__actions form,
.billing-hero__actions > a.billing-btn {
  margin: 0;
  display: block;
}

.billing-page .billing-btn,
.billing-dash-card .billing-btn {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  text-overflow: unset;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  border: 0;
}

.billing-btn--secondary {
  background: #fff !important;
  color: var(--ir-blue-deep) !important;
  border: 1.5px solid rgba(28, 124, 213, 0.45) !important;
  box-shadow: none !important;
}

.billing-btn--secondary:hover {
  background: rgba(28, 124, 213, 0.06) !important;
  color: var(--ir-blue-deep) !important;
  border-color: var(--ir-blue) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.billing-banner {
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.billing-panel {
  border-radius: 16px !important;
  padding: 1.35rem 1.4rem !important;
}

.billing-panel__head h3 {
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
  color: #111827;
}

.billing-panel__lead,
.billing-panel .text-muted {
  color: var(--ir-muted) !important;
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.billing-panel h4 {
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  color: #1f2937;
  font-weight: 700;
}

.billing-link-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem 0.7rem 0.95rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.billing-link {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: var(--ir-blue-deep);
  word-break: break-all;
  font-size: 0.9rem;
  line-height: 1.4;
}

.billing-copy-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(28, 124, 213, 0.3);
  background: #fff;
  color: var(--ir-blue-deep);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ir-duration-fast) var(--ir-ease),
    border-color var(--ir-duration-fast) var(--ir-ease);
}

.billing-copy-btn:hover {
  background: rgba(28, 124, 213, 0.08);
  border-color: var(--ir-blue);
}

.billing-details {
  margin-top: 1rem;
}

.billing-details summary,
.billing-help summary {
  cursor: pointer;
  color: var(--ir-muted);
  font-size: 0.9rem;
  font-weight: 650;
  outline: none;
}

.billing-sim-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ir-blue);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.billing-sim-link:hover {
  color: var(--ir-blue-deep);
  text-decoration: underline;
}

.billing-empty {
  padding: 1.35rem 0.5rem;
  text-align: center;
  color: var(--ir-muted);
}

.billing-empty p {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: #374151;
}

.billing-empty span {
  font-size: 0.9rem;
}

.billing-table {
  margin-top: 0.25rem;
}

.billing-table thead th {
  border-top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--ir-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.35rem;
  padding-bottom: 0.65rem;
}

.billing-table td {
  vertical-align: middle;
  font-size: 0.92rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.billing-amount {
  font-weight: 700;
  white-space: nowrap;
}

.billing-package-field {
  max-width: 280px;
}

.billing-contacts-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.15rem;
  margin: 0.35rem 0 0.85rem;
}

.billing-contact-block {
  padding: 1rem 1.05rem 0.35rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 14px;
}

.billing-contacts-form .form-control {
  border-radius: 10px;
  min-height: 44px;
  border-color: #d7dde5;
}

.billing-contacts-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #4b5563;
}

.billing-form-actions {
  max-width: 240px;
}

.billing-help {
  margin-top: 0.35rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  color: var(--ir-muted);
}

.billing-help ul {
  padding-left: 1.1rem;
  line-height: 1.55;
}

/* Dashboard billing strip */
.billing-dash-card {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 1.25rem 1.35rem 1.2rem;
  background:
    radial-gradient(900px 220px at 100% 0%, rgba(28, 124, 213, 0.1), transparent 50%),
    #fff;
  border: 1px solid rgba(28, 124, 213, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.billing-dash-card__body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.billing-dash-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #111827;
}

.billing-dash-card__copy {
  color: var(--ir-muted);
  max-width: 40rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.billing-dash-card__actions {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

@media (max-width: 991.98px) {
  .billing-hero,
  .billing-grid,
  .billing-contacts-grid {
    grid-template-columns: 1fr;
  }

  .billing-hero {
    align-items: start;
  }

  .billing-hero__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .billing-hero__actions,
  .billing-dash-card__actions {
    grid-template-columns: 1fr;
  }

  .billing-link-row {
    flex-direction: column;
    align-items: stretch;
  }

  .billing-copy-btn {
    width: 100%;
  }
}


.dash-section-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.claim-status-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.3rem;
  background: #eef2f7;
  border-radius: 999px;
}

.analytics-filter {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 650;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ir-duration-fast) var(--ir-ease),
    color var(--ir-duration-fast) var(--ir-ease),
    box-shadow var(--ir-duration-fast) var(--ir-ease);
}

.analytics-filter:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
}

.analytics-filter.is-selected {
  background: #fff;
  color: var(--ir-blue-deep);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.analytics-year-card {
  margin-bottom: 1.25rem;
}

.analytics-year-select {
  min-width: 120px;
}

.analytics-year-select .form-control {
  border-radius: 10px;
  min-height: 42px;
  border-color: #d7dde5;
  font-weight: 600;
}

.dash-alerts-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 0.75rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.dash-alerts-panel .dash-section-head h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.dash-mark-read {
  border: 0;
  background: none;
  color: var(--ir-blue);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.dash-mark-read:hover {
  color: var(--ir-blue-deep);
  text-decoration: underline;
}

.dash-alerts-list {
  margin-top: 0.35rem;
}

.dash-alerts-panel .alert_content {
  border-radius: 12px;
  margin-bottom: 0.45rem !important;
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: background var(--ir-duration-fast) var(--ir-ease),
    transform var(--ir-duration-fast) var(--ir-ease);
}

.dash-alerts-panel .alert_content:hover {
  transform: translateY(-1px);
}

.dash-claims-panel .ap-table-dash thead th {
  border-top: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ir-muted);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .claim-status-grid--3 {
    grid-template-columns: 1fr;
  }
}

