/* Global IMA Typography tokens */

/* ima-title: mirrors the PLAN right-column header "CHANGE PLAN" */
.ima-title {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-weight: 700; /* bold */
  font-size: 34px; /* matches Tailwind text-3xl override */
  line-height: 38px!important;
  color: #32363B; /* text-text-primary */
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0 44px;
}

/* ima-subtitle: mirrors the right-column "YEARLY SUBSCRIPTIONS" */
.ima-subtitle {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-weight: 700; /* bold */
  font-size: 24px; /* equivalent to Tailwind text-2xl */
  color: #32363B; /* text-text-primary */
  text-transform: uppercase;
  text-align: center;
  padding: 0 44px;
  margin-top: 0px;
  margin-bottom: 24px; /* same as my-6 bottom spacing */
}

/* If subtitle is immediately under title, remove top spacing per spec */
.ima-title + .ima-subtitle {
  margin-top: 0;
  padding-top: 0;
}


.ima-box-white {
  background-color: #f4f4f9; /* ima-white */
  color: #222529; /* ima-black (applies to descendants) */
  border: 1px solid #C9C9C9; /* ima-border */
  border-radius: 0.5rem; /* match plan boxes (rounded-lg) */
  padding: 1.5rem; /* Tailwind p-6 */
}

.ima-box-grey {
  background-color: #d6d6d6; /* ima-grey */
  color: #222529; /* ima-black (applies to descendants) */
  border: 1px solid #C9C9C9; /* ima-border */
  border-radius: 0.5rem; /* match plan boxes (rounded-lg) */
  padding: 1.5rem; /* Tailwind p-6 */
}

/* Enforce 24px, left-aligned titles inside ima-box-white */
.ima-box-white > h1,
.ima-box-white > h2,
.ima-box-white > h3 {
  font-size: 24px;
  text-align: left;
  line-height: 28px;
}

/* Enforce 24px, left-aligned titles inside ima-box-white */
.ima-box-grey > h1,
.ima-box-grey > h2,
.ima-box-grey > h3 {
  font-size: 24px;
  text-align: left;
  line-height: 28px;
}

/* Light grey divider for sections */
.ima-divider-grey-light {
  border-top: 1px solid #C9C9C9; /* ima-border */
  margin-top: 44px!important;
  margin-bottom: 24px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Override global mb-6 to remove bottom margin */
.ima-mb-0 {
  margin-bottom: 0px!important;
}

/* Override global mt-8 to remove top margin */
.ima-mt-0 {
  margin-top: 0px!important;
}

.ima-socialiconlist {
  margin-top: 0px!important;
  margin-bottom: 24px!important;
}

/* Consistent height for form controls (inputs and dropdowns) */
select,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"] {
  height: 38px;
}