/* ============================================================
   BIMA design tokens — Option A (Modern Trust Blue + Teal)
   Single source of truth for brand colors across the app.
   ============================================================ */
:root {
  /* Brand */
  --bima-primary: #325ca8;
  --bima-primary-rgb: 50, 92, 168;
  --bima-primary-dark: #264680;
  --bima-primary-light: #6585be;
  --bima-primary-tint: #eef2f9;

  --bima-secondary: #0d9488;
  --bima-secondary-rgb: 13, 148, 136;
  --bima-secondary-dark: #0b7a70;
  --bima-secondary-light: #5eada6;
  --bima-secondary-tint: #e6f5f3;

  /* Neutrals */
  --bima-heading: #0f172a;
  --bima-body: #475569;
  --bima-muted: #94a3b8;
  --bima-border: #e2e8f0;
  --bima-surface: #f8fafc;

  /* Semantic */
  --bima-success: #16a34a;
  --bima-success-rgb: 22, 163, 74;
  --bima-warning: #f59e0b;
  --bima-warning-rgb: 245, 158, 11;
  --bima-danger: #dc2626;
  --bima-danger-rgb: 220, 38, 38;
  --bima-info: #4c7bc9;
  --bima-info-rgb: 76, 123, 201;

  /* Product coding */
  --bima-health: var(--bima-secondary);
  --bima-life: var(--bima-warning);

  /* Bootstrap theme remap */
  --bs-primary: var(--bima-primary);
  --bs-primary-rgb: var(--bima-primary-rgb);
  --bs-primary-text-emphasis: var(--bima-primary-dark);
  --bs-primary-bg-subtle: var(--bima-primary-tint);
  --bs-primary-border-subtle: #c2cee5;

  --bs-secondary: var(--bima-secondary);
  --bs-secondary-rgb: var(--bima-secondary-rgb);
  --bs-secondary-text-emphasis: var(--bima-secondary-dark);
  --bs-secondary-bg-subtle: var(--bima-secondary-tint);
  --bs-secondary-border-subtle: #a7ddd8;

  --bs-success: var(--bima-success);
  --bs-success-rgb: var(--bima-success-rgb);
  --bs-warning: var(--bima-warning);
  --bs-warning-rgb: var(--bima-warning-rgb);
  --bs-danger: var(--bima-danger);
  --bs-danger-rgb: var(--bima-danger-rgb);
  --bs-info: var(--bima-info);
  --bs-info-rgb: var(--bima-info-rgb);

  --bs-body-color: var(--bima-body);
  --bs-body-color-rgb: 71, 85, 105;
  --bs-heading-color: var(--bima-heading);
  --bs-border-color: var(--bima-border);
  --bs-link-color: var(--bima-primary);
  --bs-link-color-rgb: var(--bima-primary-rgb);
  --bs-link-hover-color: var(--bima-primary-dark);
  --bs-link-hover-color-rgb: 38, 70, 128;
}

body {
  margin: 0;
  font-family: var(--app-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 15px;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}


/**
 * The geosuggest module
 * NOTE: duplicated font-sizes' are for browsers which don't support rem (only IE 8)
 */
.geosuggest {
  font-size: 1rem;
  position: relative;
  margin-left: 1em auto;
  margin-right: 1em auto;
  margin-bottom: 1em auto;
  text-align: left;
}

.geosuggest__input {
  width: 100%;
  border: 1px solid transparent;
  box-shadow: 0 0 1px #a1adb6;
  padding: 0.5em 1em;
  transition: border 0.2s, box-shadow 0.2s;
}

.geosuggest__input:focus {
  border-color: var(--bima-primary);
  box-shadow: 0 0 0 transparent;
}

.geosuggest__suggests {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 25em;
  padding: 0;
  margin-top: -1px;
  background: #fff;
  border: 1px solid var(--bima-primary);
  border-top-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  z-index: 5;
  transition: max-height 0.2s, border 0.2s;
}

.geosuggest__suggests--hidden {
  max-height: 0;
  overflow: hidden;
  border-width: 0;
}

/**
 * A geosuggest item
 */
.geosuggest__item {
  /* font-size: 18px; */
  font-size: 1rem;
  padding: 0.5em 0.65em;
  cursor: pointer;
}

.geosuggest__item:hover,
.geosuggest__item:focus {
  background: var(--bima-primary-dark);
}

.geosuggest__item--active {
  background: #737475;
  color: #fff;
}

.geosuggest__item--active:hover,
.geosuggest__item--active:focus {
  background: rgb(172, 150, 223);
}

.geosuggest__item__matched-text {
  font-weight: bold;
}

.u-line-spacing {
  line-height: 33px;
}

.react-datepicker-wrapper {
  display: block !important;
}

[class*="col-"] {
  padding-right: unset;
}

.row {
  margin-right: unset;
}

.row > * {
  padding-right: unset;
}

.timeline-title {
  font-size: 1rem;
}

.heading-text {
  color: var(--bima-primary);
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}


/* Newely added css */


/* Custom button style for primary-custom */
.btn.btn-primary-custom,
.btn-primary-custom {
	color: #212529;
	background-color: #f8f9fa;
	border-color: #f8f9fa;
}

/* Optional: keep hover/active consistent with light appearance */
.btn.btn-primary-custom:hover,
.btn-primary-custom:hover,
.btn.btn-primary-custom:focus,
.btn-primary-custom:focus {
	color: #212529;
	background-color: #e9ecef;
	border-color: #e9ecef;
}

/* Called MSISDN styling */
.same-msisdn-note {
  font-weight: 700;
  margin-top: 8px;
}

.input-group .dropdown-toggle {
  border-right: 0;
}
.input-group .form-control {
  border-left: 0;
}

select.form-control,
.form-select {
  padding-right: 2.25rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%236c757d%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

select.form-control:focus,
.form-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%236c757d%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e");
}

input.form-control[readonly],
input.form-control:read-only,
textarea.form-control[readonly],
textarea.form-control:read-only {
  background-color: #e9ecef !important;
  border-color: #ced4da;
  color: #6c757d;
  opacity: 1;
  cursor: not-allowed;
}

.form-check-input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border: 2px solid var(--bima-primary-light);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-check-input[type="radio"]:focus {
  border-color: var(--bima-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bima-primary-rgb), 0.2);
}

.form-check-input[type="radio"]:checked {
  background-color: var(--bima-primary);
  border-color: var(--bima-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bima-primary-rgb), 0.16);
  transform: scale(1.05);
}

.form-check-input[type="radio"]:checked + .form-check-label {
  color: var(--bima-primary);
  font-weight: 600;
}

.form-check-input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border: 2px solid var(--bima-primary-light);
  border-radius: 0.3rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-check-input[type="checkbox"]:focus {
  border-color: var(--bima-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bima-primary-rgb), 0.2);
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--bima-primary);
  border-color: var(--bima-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bima-primary-rgb), 0.16);
  transform: scale(1.05);
}

.form-check-input[type="checkbox"]:checked + .form-check-label {
  color: var(--bima-primary);
  font-weight: 600;
}

/* ============================================================
   Bootstrap variant remap -> Option A palette
   (compiled bootstrap sets these via --bs-btn-* custom props)
   ============================================================ */
.btn-primary {
  --bs-btn-bg: var(--bima-primary);
  --bs-btn-border-color: var(--bima-primary);
  --bs-btn-hover-bg: var(--bima-primary-light);
  --bs-btn-hover-border-color: var(--bima-primary-light);
  --bs-btn-active-bg: var(--bima-primary-dark);
  --bs-btn-active-border-color: var(--bima-primary-dark);
  --bs-btn-disabled-bg: var(--bima-primary);
  --bs-btn-disabled-border-color: var(--bima-primary);
  --bs-btn-focus-shadow-rgb: var(--bima-primary-rgb);
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bima-secondary);
  --bs-btn-border-color: var(--bima-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bima-secondary-dark);
  --bs-btn-hover-border-color: var(--bima-secondary-dark);
  --bs-btn-active-bg: var(--bima-secondary-dark);
  --bs-btn-active-border-color: var(--bima-secondary-dark);
  --bs-btn-disabled-bg: var(--bima-secondary);
  --bs-btn-disabled-border-color: var(--bima-secondary);
  --bs-btn-focus-shadow-rgb: var(--bima-secondary-rgb);
}

.btn-outline-primary {
  --bs-btn-color: var(--bima-primary);
  --bs-btn-border-color: var(--bima-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bima-primary);
  --bs-btn-hover-border-color: var(--bima-primary);
  --bs-btn-active-bg: var(--bima-primary-dark);
  --bs-btn-active-border-color: var(--bima-primary-dark);
  --bs-btn-disabled-color: var(--bima-primary);
  --bs-btn-disabled-border-color: var(--bima-primary);
  --bs-btn-focus-shadow-rgb: var(--bima-primary-rgb);
}

.btn-outline-secondary {
  --bs-btn-color: var(--bima-secondary);
  --bs-btn-border-color: var(--bima-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bima-secondary);
  --bs-btn-hover-border-color: var(--bima-secondary);
  --bs-btn-active-bg: var(--bima-secondary-dark);
  --bs-btn-active-border-color: var(--bima-secondary-dark);
  --bs-btn-disabled-color: var(--bima-secondary);
  --bs-btn-disabled-border-color: var(--bima-secondary);
  --bs-btn-focus-shadow-rgb: var(--bima-secondary-rgb);
}

.btn-outline-warning {
  --bs-btn-color: var(--bima-warning);
  --bs-btn-border-color: var(--bima-warning);
  --bs-btn-hover-bg: var(--bima-warning);
  --bs-btn-hover-border-color: var(--bima-warning);
  --bs-btn-active-bg: var(--bima-warning);
  --bs-btn-active-border-color: var(--bima-warning);
  --bs-btn-disabled-color: var(--bima-warning);
  --bs-btn-disabled-border-color: var(--bima-warning);
  --bs-btn-focus-shadow-rgb: var(--bima-warning-rgb);
}

.App {
  text-align: center;
  margin-left: 18%;
}

.app-page {
  margin: 0;
  /* padding: 1.5rem; */
}

.bima-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
  font-family: var(--app-font-family);
}

.bima-card .card-header {
  padding: 0.5rem 1.5rem;
}

.bima-card .card-body {
  padding: 1.5rem;
}

.customer-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 2.5rem;
}

@media (max-width: 767.98px) {
  .customer-details-grid {
    grid-template-columns: 1fr;
  }
}

.customer-details-field {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.customer-details-field .label {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
  flex-shrink: 0;
}

.customer-details-field .label::after {
  content: ":";
  margin-left: 0.15rem;
}

.customer-details-field .value {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
  overflow-wrap: break-word;
}

tbody + thead {
  display: none;
}

:root, [data-bs-theme=light] {
  --app-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  --bs-body-font-family: var(--app-font-family);
}

body {
  font-family: var(--app-font-family);
  font-size: 1rem;
}

.left-text {
  text-align: left;
}

.otp-input {
  width: 32px;
  height: 32px;
  text-align: center;
  margin-right: 20px;
  border-color: lightgray;
  /* border-bottom: 2px solid blue; */
}

.lo-body {
  font-size: 1rem;
}

.padding {
  padding-left: 10px;
  padding-right: 10px;
}

.sizing {
  font-size: 18px;
}

.apply-margin {
  margin: 20%;
}

.no-bottom-margin {
  margin-bottom: 0px;
}

#login {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 615px;
  height: 576px;
  /* padding: 50px 0; */
  border-radius: 20px;
  /* box-shadow: 0 0 40px #e3e3e3; */
  box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  /* background-color: #0747A6; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  background: #fff;
  /* border: 4px solid rgba(255, 255, 255, 0.3); */
}

.loginlabel {
  color: white;
}

.navbar {
  box-shadow: 0 4px 4px -2px rgba(9, 30, 66, 0.25);
}
.navbar-margin {
  height: 2%;
  width: 100%;
  background-color: var(--bima-primary);
  font-size: 6px;
}

.logo-center {
  margin-right: 45%;
}

.paymentButton {
  color: var(--bima-primary);
  border: none;
  background-color: white;
  padding: 0;
}

.existingCustomer {
  color: var(--bima-primary);
  background-color: white;
  margin-left: 8px;
  font-size: 1rem;
  text-decoration: underline;
}

#background {
  /* background-image: linear-gradient(to bottom right, #0747A6,aqua); */
  height: 100vh;
}

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

label,
.form-label {
  color: #1f2937;
  font-weight: 700;
}

.label-customer {
  color: var(--bima-primary);
}

.lo-label {
  margin-bottom: 0px;
  color: #565353c4;
}

.sidebar {
  background-color: var(--bima-primary);
  height: calc(100vh);
  position: -webkit-sticky;
  position: sticky;
  flex: 1 1;
  flex-basis: 20%;
  flex-grow: 0;
  flex-shrink: 0;
  color: white;
}

.bg-navBar {
  background-color: var(--bima-primary);
}

#dashboard {
  /* flex:1; */
  margin: 0;
  /* margin-left: 0.25rem;
  margin-right: 0.25rem; */
  /* border: 2px solid #0747A6; */
  height: calc(100% - 24px);
  background-color: white;
  overflow-y: auto;
  overflow-x: auto;
}

.register-customer {
  margin-left: 5%;
  margin-right: 5%;
  font-size: 12px;
}

.tab-content {
  width: 100%;
  padding: 16px 0px 16px 0px;
}

.listCustomerContainer {
  width: 100%;
  padding: 16px 0;
  margin-left: -15px;
  margin-right: -15px;
}

.tabs {
  padding: 8px 0 0;
  margin-left: 0;
  justify-content: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid var(--bima-border, #e2e8f0);
}

/* Customer view tabs — icon chip + label + animated underline */
.tabs.nav-tabs .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bima-muted-strong, #64748b);
  margin: 0 1.5rem 0 0;
  padding: 0.6rem 0.15rem;
  border: 0;
  background: transparent;
  transition: color 0.15s ease;
}

.tabs.nav-tabs .nav-link:hover {
  color: var(--bima-primary);
  border: 0;
}

.tabs.nav-tabs .nav-link.active {
  color: var(--bima-primary);
  background: transparent;
  border: 0;
}

.tabs.nav-tabs .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--bima-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.tabs.nav-tabs .nav-link.active::after {
  transform: scaleX(1);
}

.tabs.nav-tabs .nav-link:focus-visible {
  outline: 2px solid var(--bima-primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.tab-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: inherit;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  background: rgba(var(--bima-primary-rgb, 50, 92, 168), 0.12);
  color: var(--bima-primary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tabs.nav-tabs .nav-link.active .tab-icon {
  background: var(--bima-primary);
  color: #fff;
}

.tab-icon svg {
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .tabs.nav-tabs .nav-link::after {
    transition: none;
  }
}
/* .nav-tabs {
  border: none;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.83;
  letter-spacing: normal;
} */
.nav-tabs .nav-link {
  /* border: none;
  border-radius: 0; */
  padding: 0.5rem;
}
/* .nav-link.active {
  border-bottom: 4px solid var(--bima-secondary);
  color: #000;
}  */

.card {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 8px -2px rgba(9, 30, 66, 0.25),
    0 0 1px rgba(9, 30, 66, 0.31);
}

.nextBtn {
  float: right;
}

.buy-btn-health {
  color: white;
  width: 50%;
  background-color: var(--bima-secondary);
  border-color: var(--bima-secondary);
  /* var(--bima-warning) */
  /* var(--bima-secondary) */
}

.buy-btn-life {
  color: white;
  width: 50%;
  background-color: var(--bima-warning);
  border-color: var(--bima-warning);
  /* var(--bima-warning) */
  /* var(--bima-secondary) */
}

.coverage-details {
  width: 48%;
}

.align-image {
  margin-right: 4px;
}

.customizeLink {
  color: white;
}

.customizeLink:hover {
  color: white;
}

.android-app-home {
  background-color: #e2136e;
  border-color: #e2136e;
  align-content: center;
  width: 96%;
}

.milvik-home {
  align-content: center;
  width: 96%;
  background-color: #80808029;
  color: black;
}

.max-width {
  width: 100%;
}

h6 {
  font-weight: 600;
}

.link_padding {
  padding: 16px;
}

.bgColor {
  color: var(--bima-primary);
}
#con {
  height: calc(100vh - 70px);
}
@media (max-width: 480px) {
  #con {
    background-color: white;
  }
  #dashboard {
    margin-left: 0;
    margin-right: 0;
    border: 2px solid white;
    height: auto;
    background-color: white;
  }
  .logo-center {
    margin-left: 30%;
  }
  .align-image {
    margin: 1.25rem;
  }
}
/* Changing inner classes of bootstrap */

/* Global button shape/typography — matches the "More Actions" button.
   Background is intentionally left per-variant (primary on normal pages,
   white on the coloured card headers) so pages keep their current look. */
.btn {
  font-weight: 700;
  border-radius: 0.55rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.16);
}

/* Buttons that carry an icon get the same icon/label spacing as More Actions */
.btn:has(> svg) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--bima-primary);
  border-color: rgb(5, 61, 145);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--bima-primary-light);
  border-color: rgb(7, 69, 161);
}

.card-header {
  background-color: var(--bima-primary);
  color: white;
  font-size: 1.25rem;
  text-align: left;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
  font-size: inherit;
  font-weight: 500;
  margin-bottom: 0;
  color: inherit;
}

.bima-card > .card-header {
  background-color: var(--bima-primary);
  color: #ffffff;
}

/* a:hover {
  color: white;
} */

.nav-link {
  color: var(--bima-primary);
  background-color: white;
  font-size: 1.125rem;
  padding: 0.5rem 0;
  margin: 0 1rem;
}

.nav-link:hover {
  color: var(--bima-primary);
}
.nav-link:active {
  color: white;
  background-color: var(--bima-primary);
}
nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: white;
  background-color: var(--bima-primary);
}

.card-text {
  margin: 8px;
}

.nestedCardHeader {
  background-color: lightgrey;
  color: black;
  /* font-size: 1.25rem; */
}

.set-margin {
  margin-top: 3%;
}

.error-msg {
  color: red;
  text-align: center;
}

.error-message {
  color: red;
}

/*  */

.stretch {
  width: 100%;
}

.applyMargin {
  margin: 8px;
}

.heading {
  background-color: #e9e9e9;
  text-align: center;
  font-weight: 700;
  padding: 4px;
}

.jumbo {
  text-align: center;
}

.buyNow {
  float: right;
}

.paymentBox {
  border: 1px solid var(--bima-primary);
  padding: 12px;
  margin: 8px;
  border-radius: 7px;
  margin-bottom: 20px;
}

.top-margin {
  margin-top: 8px;
}

.msisdn-margin {
  margin: 5%;
}

/* react bootstrap changes here */

/* .card{
  margin:4px;
  margin-top:12px;
} */

/* bootstrap changes over */

.normal_anchor {
  color: blue;
  text-align: center;
}
.normal_anchor:hover {
  color: blue;
  text-decoration: underline;
}
/* .coverage-btn{
  color:#6c757d;

}

.coverage-btn:hover{
  color:white;
} */

.coverage-btn-life {
  color: white;
  background-color: var(--bima-warning);
  border-color: var(--bima-warning);
  /* var(--bima-warning); */
  /* var(--bima-secondary) */
}
.coverage-btn-health {
  color: white;
  background-color: var(--bima-secondary);
  border-color: var(--bima-secondary);
  /* var(--bima-warning); */
  /* var(--bima-secondary) */
}
.leftMargin {
  margin-left: 15px;
}
.login-form {
  font-size: 18px;
  width: 330px;
}
.dashboard-home-user-card {
  width: 100%;
  min-width: 250px;
}
.dashboard-home-stats-card {
  width: 100%;
}
.md_container {
  padding: 0;
  height: calc(100% - 5px);
  margin-top: 5px;
  margin: 0;
  overflow-y: hidden;
  flex: 1 1;
  position: relative;
}
.login-container-header {
  text-align: center;
  margin: 3rem 0;
}
.preview-padding {
  padding: 0 45px;
}
.preview-card {
  box-shadow: none;
  border: none;
  padding: 1.5rem;
  margin: 0px;
}
.preview-right-padding {
  padding-right: 50px;
}
.preview-cust-details {
  width: 100%;
  background-color: rgba(91, 177, 255, 0.1);
  margin: 0px;
  padding: 40px 45px;
}
@media screen and (max-width: 992px) {
  #dashboard {
    height: calc(100vh - 100px);
  }
  .preview-padding {
    padding: 0 4px;
  }
  .preview-cust-details {
    width: 100%;
    background-color: rgba(91, 177, 255, 0.1);
    margin: 0px;
    padding: 20px 4px;
  }
  .preview-padding-zero {
    /* padding: 0; */
  }
  .preview-card {
    box-shadow: none;
    border: none;
    padding: 1.25rem;
    margin: 0px;
  }
  .preview-center {
    justify-content: center;
  }
  .preview-right-padding {
    padding: 0 4px;
  }
  .nav-link {
    font-size: 1.125rem;
  }
  .login-container-header {
    text-align: center;
    margin: 1rem 0;
  }
  .sidenavContainer {
    width: 0;
    display: none;
  }
  /* .md_container {
    margin: auto;
  } */
  .text-align-center {
    text-align: center;
  }
  #login {
    width: 95%;
    height: 480px;
  }
  .login-form {
    width: 100%;
  }
  .dashboard-home-user-card {
    width: 100%;
  }
  .dashboard-home-stats-card {
    width: 100%;
  }
  .navbar {
    background-color: var(--bima-primary);
  }
  .navbar-collapse {
    background-image: radial-gradient(circle at 50% 43%, var(--bima-primary), var(--bima-primary-dark) 126%);
  }
  .last-login {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  #milvik-navbar {
    display: none !important;
  }
}
.last-login {
  font-size: 12px;
  float: right;
  color: var(--bima-primary);
  border: 1px solid var(--bima-primary);
  padding: 0.25rem;
  border-radius: 8px;
  margin-right: 1.25rem;
}

.bima-blue-background {
  background-color: var(--bima-primary);
  border-color: var(--bima-primary);
}
.bima-blue-background:disabled {
  background-color: var(--bima-primary);
  border-color: var(--bima-primary);
}
.bima-blue-color {
  color: var(--bima-primary);
}
.dropdown-border-radius button {
  background-color: var(--bima-primary);
  border-radius: 5px 0 0 5px;
  border-color: var(--bima-primary);
}

.nextBtnSubs {
  margin-bottom: 2rem;
  background-color: var(--bima-primary) !important;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  padding: 0.3rem 1rem;
}
.nextBtnSubs:hover {
  text-decoration: none;
}
select > option > p:hover {
  background: white !important;
  color: black !important;
}

.mdb-table {
  width: 100%;
}

.login-input {
  border: none;
  outline: none;
  outline-style: none;
  box-shadow: none;
  border-bottom: 2px solid #dfdfdf;
  font-size: 18px;
}
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus,
.login-input:-webkit-autofill:active {
  box-shadow: 0 0 0 30px white inset !important;
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}
react-datepicker-component .react-datepicker-input {
  border: none;
  border-radius: 0;
}
.react-datepicker-component .react-datepicker-input input {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background: unset !important;
  background-color: #fff !important;
}
select:first-child {
  /* color: #eee !important; */
  font-size: 14px !important;
  /* font-weight: normal !important; */
}
select,
input,
textarea,
.form-control,
.form-select {
  font-size: 1rem;
  background-color: #fff;
  color: #374151;
  font-weight: 600 !important;
}

select option {
  color: #000000;
  font-weight: 600;
}
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 400 !important;
  opacity: 1;
}
.login-input::placeholder {
  color: var(--bima-primary);
  font-style: italic;
}

.login-input-focus {
  outline: none;
  outline-style: none;
  border: none;
  border-bottom: 2px solid var(--bima-primary) !important;
  box-shadow: none !important;
}

.login-icon {
  color: var(--bima-primary);
  background-color: transparent;
}
.login-append {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #dfdfdf;
}
.login-append-focus {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--bima-primary);
}
.login-input-margin {
  margin-bottom: 3.3rem;
}
.login-input:focus::placeholder {
  color: transparent;
  font-style: italic;
}
.sidenavContainer {
  background-image: radial-gradient(circle at 50% 43%, var(--bima-primary), var(--bima-primary-dark) 126%);
  padding: 0;
  margin: 0;
}
.table td,
.table th {
  vertical-align: middle;
  height: 45px;
  font-size: 14px;
  padding: 0 0.75rem;
  color: var(--bima-primary);
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(var(--bima-primary-rgb), 0.1);
}
.table thead th {
  vertical-align: middle;
  height: 30px;
  /* font-family: Roboto; */
  font-size: 1rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.94;
  letter-spacing: normal;
  color: #9b9b9b;
  border: none;
}
.sub-hover:hover {
  background-color: rgba(155, 155, 155, 0.2);
}

.invalid-input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: var(--bima-danger);
}
.accordionHeader {
  cursor: pointer;
}

.bs-select select {
  margin-left: 0 !important;
}
.page-item.active .page-link {
  z-index: 0;
}
#add-beneficiary-modal > .modal-content {
  margin-top: 100px;
}

.modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.modal-header {
  background: var(--bima-primary);
  border-bottom: none;
  padding: 1.1rem 1.5rem;
  align-items: center;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 0.9rem 1.5rem;
  gap: 0.5rem;
}

.modal-body {
  padding: 1.25rem 1.5rem;
}

.bima-modal .modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.bima-modal .modal-body {
  padding: 1.25rem 1.5rem;
}

.confirm-modal .modal-header {
  background: var(--bima-primary);
  border-bottom: none;
  padding: 1.1rem 1.5rem;
  align-items: center;
}

.confirm-modal .modal-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.confirm-modal .confirm-title-icon {
  font-size: 1.35rem;
  color: #ffffff;
}

.confirm-modal .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.confirm-modal .modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 0.9rem 1.5rem;
  gap: 0.5rem;
}

.confirm-modal .modal-body ul {
  padding-left: 18px;
}

.service-request-fields .row {
  background: #f8fafc !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem;
  padding: 0.55rem 0.9rem !important;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.service-request-fields .row > div:first-child {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.service-request-fields .row > div:last-child {
  border-left: none !important;
  font-weight: 600;
  color: #0f172a;
  overflow: visible !important;
}

.service-request-fields .row > div:last-child a {
  color: var(--bima-primary);
  font-weight: 500;
  margin-right: 0.5rem;
}

.cron_builder{
	max-width: 100% !important;
}

.cron_builder_bordering select {
  color: #000000 !important
}

.alert-danger{
  color: var(--bima-danger) !important;
}

.badge-danger{
  background-color: var(--bima-danger);
}

.subscription-details-card {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}

.subscription-details-card:hover {
  border-color: var(--bima-primary);
  box-shadow: 0 6px 20px rgba(var(--bima-primary-rgb), 0.18);
  transform: translateY(-2px);
}

.subscription-details-card > .row {
  margin-bottom: 0.5rem;
}

.subscription-details-card > .row:first-child {
  background: #dfe7f3;
  border-left: 3px solid var(--bima-primary);
  border-bottom: 1px solid var(--bima-border, #e2e8f0);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  padding: 0.75rem 1.25rem;
  margin: -1.25rem -1.25rem 0.75rem -1.25rem;
  align-items: center;
}

.subscription-details-card > .row:first-child > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.subscription-details-card > .row:first-child h6 {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.25rem;
  color: var(--bima-heading, #0f172a);
  font-weight: 700;
}

.product-header-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 0 1 auto;
}

.subscription-product-name {
  font-size: 1.125rem;
  font-weight: 700;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.subscription-status-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.subscription-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgba(var(--bima-primary-rgb), 0.12);
  color: var(--bima-primary);
  font-size: 1rem;
}

.subscription-status-badge {
  font-size: 0.9rem;
}

.subscription-details-card > .row > [class*="col-"] {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.subscription-details-card > .row:first-child > .col-auto {
  padding-left: 1rem;
}

/* ============================================================
   Subscription card — header actions (dropdown) + edit button
   ============================================================ */
.subscription-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-actions__menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Actions + Edit sit on the blue card header: solid white, black, bold */
.subscription-card-actions .dropdown-toggle,
.subscription-card-actions .subscription-edit-btn {
  color: #111827;
  background-color: #ffffff;
  border-color: #ffffff;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 0.55rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
}

.subscription-card-actions .dropdown-toggle:hover,
.subscription-card-actions .dropdown-toggle:focus,
.subscription-card-actions .subscription-edit-btn:hover,
.subscription-card-actions .subscription-edit-btn:focus {
  color: #111827;
  background-color: #eef2f7;
  border-color: #eef2f7;
}

.subscription-card-actions .dropdown-toggle:active,
.subscription-card-actions .subscription-edit-btn:active {
  color: #111827;
  background-color: #e2e8f0;
  border-color: #e2e8f0;
}

.subscription-card-actions .dropdown-toggle:disabled,
.subscription-card-actions .subscription-edit-btn:disabled {
  color: #111827;
  background-color: #ffffff;
  border-color: #ffffff;
  opacity: 0.65;
}

.subscription-card-actions .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding-left: 0.85rem;
  padding-right: 0.7rem;
}

/* Nicer dropdown menu */
.sub-actions__menu .dropdown-menu {
  border: none;
  border-radius: 0.75rem;
  padding: 0.4rem;
  min-width: 16rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
}

.sub-actions__menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  color: #111827;
}

.sub-actions__menu .dropdown-item svg {
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--bima-primary);
}

.sub-actions__menu .dropdown-item:hover,
.sub-actions__menu .dropdown-item:focus {
  background-color: var(--bima-primary-tint, #eef2f9);
  color: var(--bima-primary-dark);
}

.sub-actions__menu .dropdown-item.text-danger {
  color: var(--bima-danger, #dc2626);
}

.sub-actions__menu .dropdown-item.text-danger svg {
  color: var(--bima-danger, #dc2626);
}

.sub-actions__menu .dropdown-item.text-danger:hover,
.sub-actions__menu .dropdown-item.text-danger:focus {
  background-color: rgba(220, 38, 38, 0.08);
  color: var(--bima-danger, #dc2626);
}

.sub-actions__menu .dropdown-divider {
  margin: 0.35rem 0.3rem;
  border-color: var(--bima-border, #e2e8f0);
}

/* Reusable white header action button (matches the "More Actions" button) */
.card-header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #111827;
  background-color: #ffffff;
  border-color: #ffffff;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 0.55rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
}

.card-header-action-btn:hover,
.card-header-action-btn:focus {
  color: #111827;
  background-color: #eef2f7;
  border-color: #eef2f7;
}

.card-header-action-btn:active {
  color: #111827;
  background-color: #e2e8f0;
  border-color: #e2e8f0;
}

.card-header-action-btn:disabled {
  color: #111827;
  background-color: #ffffff;
  border-color: #ffffff;
  opacity: 0.65;
}

.card-header-action-btn svg {
  font-size: 0.95rem;
}

.benefit-accordion .accordion-item {
  border: none;
  background: transparent;
  border-radius: 1rem;
}

.benefit-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--bima-border, #e2e8f0);
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-accordion .accordion-button::after {
  display: none;
}

.benefit-accordion .accordion-button:hover {
  background: var(--bima-primary-tint, #eef2f9);
  border-color: var(--bima-primary-light, #6585be);
}

.benefit-accordion .accordion-button:focus {
  border-color: var(--bima-primary-light, #6585be);
  box-shadow: 0 0 0 0.18rem rgba(var(--bima-primary-rgb), 0.15);
}

.benefit-accordion .accordion-button:not(.collapsed) {
  background: var(--bima-primary);
  color: #ffffff;
  border-color: var(--bima-primary);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: 1px solid var(--bima-primary);
  box-shadow: none;
}

.benefit-accordion .accordion-button:not(.collapsed) .benefit-accordion__title {
  color: #ffffff;
}

.benefit-accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgba(var(--bima-primary-rgb), 0.12);
  color: var(--bima-primary);
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.benefit-accordion .accordion-button:not(.collapsed) .benefit-accordion__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.benefit-accordion__title {
  flex: 1 1 auto;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.benefit-accordion__chevron {
  display: inline-flex;
  align-items: center;
  color: var(--bima-primary);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.benefit-accordion .accordion-button:not(.collapsed) .benefit-accordion__chevron {
  color: #ffffff;
  transform: rotate(180deg);
}

.benefit-accordion .accordion-collapse {
  background: #ffffff;
  border: 1px solid var(--bima-primary-light, #6585be);
  border-top: none;
  border-bottom-left-radius: 1rem !important;
  border-bottom-right-radius: 1rem !important;
}

.benefit-accordion .accordion-body {
  padding: 1.5rem 1.25rem 1.25rem;
}

.benefit-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.benefit-section {
  display: block;
  column-count: 2;
  column-gap: 1.5rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.benefit-section > [class*="col-"] {
  display: block;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.benefit-section > [class*="col-"] > .benefit-card {
  width: 100%;
}

.benefit-card {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.benefit-card h6 {
  background: #f8fafc;
  color: var(--bima-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  margin: -0.9rem -1rem 0.6rem -1rem;
  border-bottom: 1px solid #e9ecef;
}

.benefit-card .row {
  margin-bottom: 0.3rem;
}

.benefit-card .row:last-child {
  margin-bottom: 0;
}

.cover-usage-table tr td{
  font-size: 14px !important;
}
.stacked-modal .modal-dialog {
  height: 100vh;
  display: flex;
  align-items: center; /* vertically centers the modal box */
  justify-content: center;
}

.stacked-modal .modal-content {
  height: 100%;
  background: #ffffff;
  opacity: 0.97;
  z-index: 1050;
  overflow-y: auto; /* adds scroll if content overflows */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.position-adjust {
  position: absolute;
  top: 16px;
  left: 16%;        /* default for large screens */
}

@media (max-width: 1200px) {
  .position-adjust {
    left: 25%;
  }
}

@media (max-width: 992px) {
  .position-adjust {
    left: 35%; /* tablets */
  }
}

@media (max-width: 768px) {
  .position-adjust {
    left: 45%; /* mobiles */
  }
}
.close {
  font-size: 2.5rem !important;
}

.accordion-toggle-custom {
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  color: #ffffff;
}

.accordion-toggle-custom:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.iconRotate {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.sidenavAccordionHighlight {
  background-color: var(--bima-primary-dark);
}

/* Custom classes for accordion for partner request modal */
.custom-accordion {
  border: 0;
}

.custom-accordion .accordion-item {
  border: 0;
}

.custom-accordion .accordion-button::after {
  display: none;
}

.custom-accordion .accordion-header {
  width: -webkit-fit-content;
  width: fit-content;
}

.custom-accordion .accordion-button {
  color: #fff;
  background-color: var(--bima-primary);  
}

.custom-accordion .accordion-button:focus {
  box-shadow: unset;
  background-color: var(--bima-primary-dark);
}
/* ============================================================
   Standard text & table font size: 15px (1rem)
   ============================================================ */
body {
  font-size: 1rem;
}

.table,
.table td,
.table th,
.form-control,
.form-label,
.btn,
label,
input,
select,
textarea,
p,
span {
  font-size: 0.9375rem;
}

/* Tabs: keep the default 1.125rem across the whole app */
.nav-link,
.nav-tabs .nav-link,
.nav-pills .nav-link {
  font-size: 1.125rem;
}

/* ============================================================
   Customer view (/ui/customer/view) — tablet & mobile
   ============================================================ */
@media (max-width: 992px) {
  .subscription-details-card {
    padding: 1rem;
  }

  .subscription-details-card > .row:first-child {
    margin: -1rem -1rem 0.75rem -1rem;
  }

  .benefit-section {
    column-count: 1;
  }

  .benefit-accordion .accordion-body {
    padding: 1rem 0.75rem 0.75rem;
  }

  .sub-actions__menu .dropdown-menu {
    min-width: 15rem;
  }

  #dashboard.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Small devices only: let the name shrink/wrap so the badge stays on the same line */
@media (max-width: 767.98px) {
  .product-header-main {
    flex: 1 1;
    max-width: -webkit-max-content;
    max-width: max-content;
  }

  .subscription-details-card > .row:first-child {
    flex-direction: column;
    align-items: flex-start;
  }

  .subscription-card-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .subscription-details-card {
    padding: 0.75rem;
  }

  .subscription-details-card > .row:first-child {
    margin: -0.75rem -0.75rem 0.6rem -0.75rem;
    padding: 0.6rem 0.75rem;
  }

  .subscription-product-name {
    font-size: 1rem;
  }

  .subscription-product-icon {
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
  }

  .subscription-card-actions {
    flex-wrap: wrap;
  }

  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tabs .nav-link {
    white-space: nowrap;
  }

  #dashboard.px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* ============================================================
   Inactive / expired subscription cards — collapsed by default,
   click the card header to expand
   ============================================================ */
.inactive-card-chevron {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  color: var(--bima-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.inactive-card-chevron.open {
  transform: rotate(180deg);
}

/* ============================================================
   Payment Details modal — product + msisdn header, grouped section
   ============================================================ */
.payment-details-section {
  border: 1px solid var(--bima-border, #e2e8f0);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  overflow: hidden;
}

.payment-details-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: -1.25rem -1.25rem 1rem -1.25rem;
  padding: 0.9rem 1.25rem;
  background: #dfe7f3;
  border-left: 3px solid var(--bima-primary);
  border-bottom: 1px solid var(--bima-border, #e2e8f0);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.payment-details-headline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.payment-details-headline-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.payment-details-title-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-details-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bima-heading, #0f172a);
}

.payment-details-subtitle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.3rem;
  margin-top: 0.15rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--bima-primary-dark, #264680);
  border: 1px solid rgba(var(--bima-primary-rgb), 0.25);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Dependents selection blocks (nominee / insured relative) */

.dependents-selection-card {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.dependents-selection-card .dependents-selection-warning {
  color: #b45309;
  font-weight: 600;
}

/* Benefit card info: muted labels, highlighted values */
.benefit-info-label {
  color: #64748b;
  font-weight: 500;
}

/* Add/edit subscription benefit cards keep the smaller benefit name */
.beneficiaryCard[class*='benefit-card-'] .benefit-card-header span {
  font-size: 0.9375rem;
}

.benefit-info-value {
  color: var(--bima-primary, #325ca8);
  font-weight: 700;
}

.dependents-selection-card .benefit-card-header {
  justify-content: flex-start;
  font-weight: 700;
}

/* Match the benefit card header background (override .bima-card header) */
.beneficiaryCard.dependents-selection-card > .card-header {
  background: #eef2f7;
  color: #000000;
}

/* Nominee & insured-relative sections side by side with a vertical separator */
.dependents-selection-body {
  display: flex;
  align-items: stretch;
}

.dependents-selection-section {
  flex: 1 1;
  min-width: 0;
}

.dependents-selection-section:first-child:not(:last-child) {
  padding-right: 1.75rem;
}

.dependents-selection-section + .dependents-selection-section {
  position: relative;
  padding-left: 1.75rem;
  border-left: 0;
}

/* Dotted gray separator line */
.dependents-selection-section + .dependents-selection-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 4px dotted #adb5bd;
}

/* Remove Bootstrap row negative gutters inside the sections */
.dependents-selection-section .row {
  margin-left: 0;
  margin-right: 0;
}

.dependents-selection-section .row > [class*='col'] {
  padding-left: 0;
  padding-right: 0;
}

.dependents-selection-section h6 {
  margin: 0 0 0.5rem;
}

@media (max-width: 991.98px) {
  .dependents-selection-body {
    flex-direction: column;
  }

  .dependents-selection-section:first-child:not(:last-child) {
    padding-right: 0;
  }

  .dependents-selection-section + .dependents-selection-section {
    padding-left: 0;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .dependents-selection-section + .dependents-selection-section::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 0;
    border-left: 0;
    border-top: 4px dotted #adb5bd;
  }
}

/* Equal height for all benefit cards in a row */
.align-side {
  align-items: stretch;
}

.align-side .beneficiaryCard {
  height: 100%;
}

.dependents-selection-row {
  align-items: stretch;
}

.dependents-selection-row .dependents-selection-card {
  height: 100%;
}

.dependents-selection-row {
  margin-top: 1.25rem;
}

/* Mobile header: full-width brand background + left-aligned logo */
@media (max-width: 991.98px) {
  #navbar {
    background-color: var(--bima-primary) !important;
  }

  #navbar .navbar-brand {
    background-color: transparent !important;
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
    padding-left: 1rem !important;
  }

  #navbar .navbar-brand img {
    margin: 0 !important;
  }

  #navbar .last-login {
    color: #ffffff;
  }

  #navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
  }

  #navbar .navbar-toggler-icon {
    filter: invert(1) brightness(2);
  }

  /* Remove the right gap so the menu reaches the edge; pad the toggler instead */
  #navbar {
    padding-right: 0 !important;
  }

  #navbar .navbar-toggler {
    margin-right: 1rem;
  }

  /* Expanded mobile menu spans the full width */
  #navbar .navbar-collapse,
  #navbar .navbar-collapse .nav,
  #navbar .navbar-collapse .accordion,
  #navbar .navbar-collapse .accordion-item,
  #navbar .navbar-collapse .accordion-button,
  #navbar .navbar-collapse .accordion-body,
  #navbar .navbar-collapse .sidenav_md_row {
    width: 100%;
  }
}

.sidenav {
  left: 0;
  overflow-x: hidden;
  width: 100%;
  /* transition: 0.5s; 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  text-decoration: none;
  color: #fff;
  display: block;
  /* transition: 0.3s; */
}
.sidenav-active a {
  text-decoration: none;
  /* color: cyan; */
  display: block;
  /* transition: 0.3s; */
}
.sidenav a:active {
  text-decoration: none;
  color: var(--bima-primary) !important;
  background-color: #eee !important;
  
}

/* When you mouse over the navigation links, change their color */
/* .sidenav a:hover {
  background-color: #fff;
  color: var(--bima-primary);
} */

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
/* #main {
  transition: margin-left .5s;
  padding: 20px;
} */
.iconRotate {
  transform: rotateZ(90deg);
}

.accordionHeader {
  border-bottom: none;
  border-radius: 0 !important;
  /* color: var(--bima-primary); */
  background-color: transparent !important;
  padding: 0.5rem 1.25rem;
}

.accordionHeader:hover {
  background-color: #eeeeee !important;
  color: var(--bima-primary);
}
.accordionHeader:active {
  color: white;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
/* @media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
} */

.sidenav_md {
  left: 0;
  overflow-x: hidden;
  /* transition: 0.5s; */
}

/* The navigation menu links */
/* .sidenav_md a button {
  text-decoration: none;
  color: whitesmoke;
  display: block;
  transition: 0.3s;
} */

/* .sidenav_md a:active {
  text-decoration: none;
  color: cyan;
} */

/* When you mouse over the navigation links, change their color */
/* .sidenav_md a button:hover {
  color: white;
} */

/* Position and style the close button (top right corner) */
.sidenav_md .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.sidenav_md_link a {
  color: #fff;
  background-color: transparent;
  text-decoration: none !important;
}

/* NavLink itself is the <a>, so style the class too */
.sidenav_md_link {
  color: #fff;
  background-color: transparent;
  text-decoration: none !important;
  display: block;
}

.sidenav_md_link:hover {
  color: var(--bima-primary);
  background-color: #eee;
  text-decoration: none !important;
}
.sidenav_md_link_active {
  color: var(--bima-primary) !important;
  background-color: #eee !important;
  text-decoration: none !important;
  border-left: 4px solid var(--bima-primary) !important;
  padding-left: calc(3rem - 4px) !important;
  font-weight: 600 !important;
  display: block !important;
}

/* Active state for top-level single links (Home, Change Password).
   Keeps the label in place (no indent jump) while showing the
   same active treatment as the grouped links. */
.sidenav_single_link_active {
  color: var(--bima-primary) !important;
  background-color: #eee !important;
  text-decoration: none !important;
  border-left: 4px solid var(--bima-primary) !important;
  padding-left: calc(1.25rem - 4px) !important;
  font-weight: 600 !important;
  display: block !important;
}

/* --- Bootstrap 5 Accordion overrides inside sidenav ---
   Prevent the default white accordion panel/background. */
.sidenav .accordion,
.sidenav_md .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-color: #fff;
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-focus-box-shadow: none;
}

.sidenav .accordion-item,
.sidenav_md .accordion-item {
  background-color: transparent;
  border: 0;
}

.sidenav .accordion-button,
.sidenav_md .accordion-button {
  background-color: transparent;
  color: #fff;
  padding: 0.5rem 1.25rem;
}

.sidenav .accordion-button:not(.collapsed),
.sidenav_md .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #fff;
  box-shadow: none;
}

.sidenav .accordion-body,
.sidenav_md .accordion-body {
  background-color: transparent;
  padding: 0;
}

/* Custom accordion header used in linkGroup.js */
.accordion-toggle-custom {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1.25rem;
  color: #fff;
  -webkit-user-select: none;
          user-select: none;
}

.accordion-toggle-custom:hover {
  background-color: #eeeeee;
  color: var(--bima-primary);
}

.accordion-toggle-custom:active {
  background-color: #eeeeee;
  color: var(--bima-primary);
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media not screen and (max-width: 992px) {
  /* .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;} */
  .sidenav_md {
    width: 0;
  }
}
@media screen and (max-width: 992px) {
  /* .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;} */
  .sidenav {
    width: 0;
  }
  .accordionHeader {
    color: white;
    background-color: transparent !important;
  }

  .accordionHeader:hover {
    background-color: #eeeeee;
    color: var(--bima-primary) !important;
  }
  .accordionHeader:active {
    color: var(--bima-primary);
    background-color: white;
  }
  .md_hidden {
    display: none;
  }
}

.hover:hover {
  background-color: #eeeeee;
  color: var(--bima-primary);
}
.hover:active {
  background-color: #eeeeee;
  color: var(--bima-primary);
}
.hover_active {
  background-color: #fff !important;
  color: var(--bima-primary) !important;
}
.hover_active a {
  /* background-color: #eeeeee !important; */
  color: var(--bima-primary) !important;
}

.logout-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: inherit;
  color: #fff;
  font-weight: 400;
  padding: 0.5rem 1.25rem;
  margin-left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  gap: 0.5rem;
}

.logout-btn svg {
  display: block;
}

/* Mobile logout: separator above the logout row */
.sidenav_md_logout {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 0.5rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

/* Mobile sidebar submenu fix */
@media (max-width: 768px) {
  .sidenav_md_row,
  .sidenav_md_row.row {
    display: block !important;   /* kill flex */
    width: 100%;
  }

  .sidenav_md_row > * {
    display: block;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .sidenav_md_link {
    display: block;
    width: 100%;
  }
}


