
/* ============================================================
   HowIVoted UMP Pro Theme Layer
   File: css/hiv-ump-theme.css
   Purpose: Styles Ultimate Membership Pro pages to match HowIVoted.
============================================================ */

:root {
  --hiv-navy: var(--navy, #0D1B2A);
  --hiv-white: var(--white, #F5F5F0);
  --hiv-blue: var(--civic-blue, #1A56DB);
  --hiv-gold: var(--gold, #E8A020);
  --hiv-green: var(--green, #12A150);
  --hiv-red: var(--red, #DC2626);
  --hiv-gray: var(--gray, #6B7280);
  --hiv-light-gray: var(--light-gray, #E5E7EB);
  --hiv-card: var(--card-bg, #FFFFFF);
  --hiv-border: var(--border, #D1D5DB);
  --hiv-font-display: var(--font-display, 'DM Sans', sans-serif);
  --hiv-font-body: var(--font-body, 'Inter', sans-serif);
  --hiv-radius: 18px;
  --hiv-shadow: 0 14px 40px rgba(13,27,42,0.12);
}

.hiv-ump-page {
  background: linear-gradient(180deg, rgba(13,27,42,0.06), rgba(245,245,240,0.9));
  padding: clamp(36px, 5vw, 72px) 18px;
  color: var(--hiv-navy);
  font-family: var(--hiv-font-body);
}

.hiv-ump-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hiv-ump-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hiv-ump-hero-main,
.hiv-ump-hero-side,
.hiv-ump-card,
.hiv-ump-panel,
.hiv-ump-form-card,
.hiv-ump-wrapper .ihc-login-template-1,
.hiv-ump-wrapper .ihc-register-1,
.hiv-ump-wrapper .ihc-register-2,
.hiv-ump-wrapper .ihc-user-page-wrapper,
.hiv-ump-wrapper .ihc-ap-wrap,
.hiv-ump-wrapper .iump-form-line-register,
.hiv-ump-wrapper .ihc-checkout-page-box,
.hiv-ump-wrapper .ihc-level-item,
.hiv-ump-wrapper .ihc-subscription-plan,
.hiv-ump-wrapper .ihc-thank-you-page-wrapper {
  background: var(--hiv-card) !important;
  border: 1px solid rgba(13,27,42,0.12) !important;
  border-radius: var(--hiv-radius) !important;
  box-shadow: var(--hiv-shadow) !important;
}

.hiv-ump-hero-main {
  padding: clamp(26px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}

.hiv-ump-hero-main::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, var(--hiv-gold), var(--hiv-blue));
}

.hiv-ump-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--hiv-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hiv-ump-kicker::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--hiv-gold);
}

.hiv-ump-hero h1,
.hiv-ump-card h2,
.hiv-ump-panel h2,
.hiv-ump-wrapper h1,
.hiv-ump-wrapper h2,
.hiv-ump-wrapper h3,
.hiv-ump-wrapper .ihc-level-title {
  color: var(--hiv-navy) !important;
  font-family: var(--hiv-font-display) !important;
  line-height: 1.15 !important;
}

.hiv-ump-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  letter-spacing: -0.045em;
}

.hiv-ump-hero p,
.hiv-ump-card p,
.hiv-ump-panel p,
.hiv-ump-wrapper p,
.hiv-ump-wrapper .ihc-level-description,
.hiv-ump-wrapper .ihc-register-notice {
  color: rgba(13,27,42,0.74) !important;
  font-family: var(--hiv-font-body) !important;
}

.hiv-ump-hero-side {
  padding: 24px;
  background: var(--hiv-navy) !important;
  color: var(--hiv-white) !important;
}

.hiv-ump-hero-side h2,
.hiv-ump-hero-side h3,
.hiv-ump-hero-side p,
.hiv-ump-hero-side li {
  color: var(--hiv-white) !important;
}

.hiv-ump-hero-side ul,
.hiv-ump-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hiv-ump-hero-side li,
.hiv-ump-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
}

.hiv-ump-hero-side li::before,
.hiv-ump-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hiv-gold);
  font-weight: 900;
}

.hiv-ump-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 28px;
}

.hiv-ump-card,
.hiv-ump-panel,
.hiv-ump-form-card {
  padding: clamp(20px, 3vw, 32px);
}

.hiv-ump-card h3,
.hiv-ump-panel h3 {
  margin: 0 0 8px;
}

.hiv-ump-alert {
  border-left: 5px solid var(--hiv-gold);
  background: rgba(232,160,32,0.12);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
}

.hiv-ump-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hiv-ump-btn,
.hiv-ump-wrapper input[type='submit'],
.hiv-ump-wrapper button,
.hiv-ump-wrapper .ihc-register-submit-button,
.hiv-ump-wrapper .ihc-login-submit,
.hiv-ump-wrapper .ihc-level-link,
.hiv-ump-wrapper .iump-submit-form input,
.hiv-ump-wrapper a.ihc-button,
.hiv-ump-wrapper .ihc-ap-menu-item a,
.hiv-ump-wrapper .ihc-ap-tabs-menu .ihc-ap-menu-item a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: var(--hiv-blue) !important;
  color: #fff !important;
  font-family: var(--hiv-font-body) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(26,86,219,0.22) !important;
}

.hiv-ump-btn:hover,
.hiv-ump-wrapper input[type='submit']:hover,
.hiv-ump-wrapper button:hover,
.hiv-ump-wrapper .ihc-register-submit-button:hover,
.hiv-ump-wrapper .ihc-login-submit:hover,
.hiv-ump-wrapper .ihc-level-link:hover,
.hiv-ump-wrapper a.ihc-button:hover {
  background: #1649b8 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.hiv-ump-btn-secondary,
.hiv-ump-wrapper .ihc-ap-menu-item a {
  background: #fff !important;
  color: var(--hiv-navy) !important;
  border-color: rgba(13,27,42,0.16) !important;
  box-shadow: none !important;
}

.hiv-ump-btn-secondary:hover,
.hiv-ump-wrapper .ihc-ap-menu-item a:hover {
  background: rgba(13,27,42,0.05) !important;
  color: var(--hiv-navy) !important;
}

/* UMP forms */
.hiv-ump-wrapper form,
.hiv-ump-wrapper .ihc-login-form-wrap,
.hiv-ump-wrapper .ihc-register-form,
.hiv-ump-wrapper .ihc-form-create-edit,
.hiv-ump-wrapper .ihc-checkout-page-wrap {
  max-width: none !important;
}

.hiv-ump-wrapper label,
.hiv-ump-wrapper .iump-labels-register,
.hiv-ump-wrapper .ihc-labels-register,
.hiv-ump-wrapper .ihc-form-label {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--hiv-navy) !important;
  font-family: var(--hiv-font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
}

.hiv-ump-wrapper input[type='text'],
.hiv-ump-wrapper input[type='email'],
.hiv-ump-wrapper input[type='password'],
.hiv-ump-wrapper input[type='tel'],
.hiv-ump-wrapper input[type='url'],
.hiv-ump-wrapper input[type='number'],
.hiv-ump-wrapper select,
.hiv-ump-wrapper textarea,
.hiv-ump-wrapper .ihc-form-control,
.hiv-ump-wrapper .iump-form-line-register input,
.hiv-ump-wrapper .iump-form-line-register select,
.hiv-ump-wrapper .iump-form-line-register textarea {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid rgba(13,27,42,0.18) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--hiv-navy) !important;
  font-family: var(--hiv-font-body) !important;
  font-size: 1rem !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

.hiv-ump-wrapper textarea { min-height: 120px !important; }

.hiv-ump-wrapper input:focus,
.hiv-ump-wrapper select:focus,
.hiv-ump-wrapper textarea:focus {
  outline: none !important;
  border-color: var(--hiv-blue) !important;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.16) !important;
}

.hiv-ump-wrapper .iump-form-line-register,
.hiv-ump-wrapper .ihc-form-line-register,
.hiv-ump-wrapper .ihc-login-form-wrap .impu-form-line-fr,
.hiv-ump-wrapper .ihc-login-form-wrap .impu-form-line-fr-checkbox {
  margin: 0 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hiv-ump-wrapper input[type='checkbox'],
.hiv-ump-wrapper input[type='radio'] {
  width: auto !important;
  min-height: auto !important;
  margin-right: 8px !important;
}

.hiv-ump-wrapper .ihc-register-notice,
.hiv-ump-wrapper .ihc-login-notice,
.hiv-ump-wrapper .ihc-wrapp-the-errors,
.hiv-ump-wrapper .iump-form-errors,
.hiv-ump-wrapper .ihc-error-global-dashboard-message,
.hiv-ump-wrapper .ihc-public-trial-version-notice {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin: 14px 0 !important;
  border: 1px solid rgba(220,38,38,0.22) !important;
  background: rgba(220,38,38,0.08) !important;
  color: var(--hiv-red) !important;
}

.hiv-ump-wrapper .ihc-success-message,
.hiv-ump-wrapper .ihc-register-success-msg,
.hiv-ump-wrapper .ihc-login-success-message {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin: 14px 0 !important;
  border: 1px solid rgba(18,161,80,0.22) !important;
  background: rgba(18,161,80,0.08) !important;
  color: #0f7a3f !important;
}

/* UMP plan/showcase cards */
.hiv-ump-wrapper .ihc-levels-wrapper,
.hiv-ump-wrapper .ihc-select-level-wrap,
.hiv-ump-wrapper .ihc-subscription-levels-wrapper,
.hiv-ump-wrapper .ihc-levels-table {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

.hiv-ump-wrapper .ihc-level-item,
.hiv-ump-wrapper .ihc-subscription-plan {
  position: relative !important;
  overflow: hidden !important;
  padding: 24px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.hiv-ump-wrapper .ihc-level-item:hover,
.hiv-ump-wrapper .ihc-subscription-plan:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 44px rgba(13,27,42,0.16) !important;
}

.hiv-ump-wrapper .ihc-level-item::before,
.hiv-ump-wrapper .ihc-subscription-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hiv-blue), var(--hiv-gold));
}

.hiv-ump-wrapper .ihc-level-price,
.hiv-ump-wrapper .ihc-price,
.hiv-ump-wrapper .ihc-level-amount {
  color: var(--hiv-navy) !important;
  font-family: var(--hiv-font-display) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  font-weight: 900 !important;
}

.hiv-ump-wrapper .ihc-level-details,
.hiv-ump-wrapper .ihc-level-expire,
.hiv-ump-wrapper .ihc-level-access,
.hiv-ump-wrapper .ihc-plan-details {
  color: rgba(13,27,42,0.68) !important;
  font-size: 0.93rem !important;
}

/* Account page */
.hiv-ump-wrapper .ihc-ap-wrap,
.hiv-ump-wrapper .ihc-user-page-wrapper {
  padding: 0 !important;
  overflow: hidden !important;
}

.hiv-ump-wrapper .ihc-ap-menu,
.hiv-ump-wrapper .ihc-ap-tabs-menu,
.hiv-ump-wrapper .ihc-ap-menu-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 18px !important;
  margin: 0 !important;
  background: rgba(13,27,42,0.04) !important;
  border-bottom: 1px solid rgba(13,27,42,0.1) !important;
}

.hiv-ump-wrapper .ihc-ap-menu-item,
.hiv-ump-wrapper .ihc-ap-tabs-menu .ihc-ap-menu-item {
  display: inline-flex !important;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

.hiv-ump-wrapper .ihc-ap-menu-item-selected a,
.hiv-ump-wrapper .ihc-ap-menu-item-active a,
.hiv-ump-wrapper .ihc-ap-current a {
  background: var(--hiv-navy) !important;
  color: #fff !important;
}

.hiv-ump-wrapper .ihc-ap-content,
.hiv-ump-wrapper .ihc-ap-content-wrapper,
.hiv-ump-wrapper .ihc-user-page-content,
.hiv-ump-wrapper .ihc-account-page-content {
  padding: clamp(20px, 3vw, 34px) !important;
}

.hiv-ump-wrapper table,
.hiv-ump-wrapper .ihc-account-subscr-list,
.hiv-ump-wrapper .ihc-account-page-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.hiv-ump-wrapper th,
.hiv-ump-wrapper td {
  border-bottom: 1px solid rgba(13,27,42,0.1) !important;
  padding: 13px 14px !important;
  text-align: left !important;
  color: var(--hiv-navy) !important;
}

.hiv-ump-wrapper th {
  background: rgba(13,27,42,0.05) !important;
  font-weight: 900 !important;
}

/* UMP hidden anti-spam / honeypot cleanup if present */
.hiv-ump-wrapper .ihc-honeypot,
.hiv-ump-wrapper .hiv-honeypot,
.hiv-ump-wrapper input[name='ihc_website'],
.hiv-ump-wrapper input[name='hiv_website'] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* HowIVoted membership showcase compatibility */
.hiv-ump-wrapper .hiv-membership-showcase,
.hiv-ump-wrapper .hiv-pricing-page,
.hiv-ump-wrapper .hiv-plan-grid,
.hiv-ump-wrapper .hiv-pricing-grid {
  max-width: none !important;
}

/* Mobile */
@media (max-width: 900px) {
  .hiv-ump-hero { grid-template-columns: 1fr; }
  .hiv-ump-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hiv-ump-page { padding: 24px 12px; }
  .hiv-ump-hero-main,
  .hiv-ump-hero-side,
  .hiv-ump-card,
  .hiv-ump-panel,
  .hiv-ump-form-card { padding: 20px; }
  .hiv-ump-actions { flex-direction: column; }
  .hiv-ump-btn,
  .hiv-ump-wrapper input[type='submit'],
  .hiv-ump-wrapper button,
  .hiv-ump-wrapper .ihc-level-link { width: 100% !important; }
  .hiv-ump-wrapper .ihc-ap-menu,
  .hiv-ump-wrapper .ihc-ap-tabs-menu { display: grid !important; grid-template-columns: 1fr; }
  .hiv-ump-wrapper table { display: block !important; overflow-x: auto !important; white-space: nowrap !important; }
}

/* ============================================================
   UMP default showcase/account subscription repair
   Targets the real UMP output seen on My Account subscription tab:
   .ich_level_wrap.ihc_level_template_5 and .ihc-level-item-*.
============================================================ */
.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5,
.ich_level_wrap.ihc_level_template_5 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item {
  width: auto !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(13,27,42,0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgba(13,27,42,0.12) !important;
  overflow: hidden !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-wrap,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-wrap {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 24px !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-top,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-top {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-title,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-title {
  color: var(--hiv-navy, #0D1B2A) !important;
  font-family: var(--hiv-font-display, 'DM Sans', sans-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  text-align: left !important;
  text-transform: none !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-price,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-price {
  color: var(--hiv-blue, #1A56DB) !important;
  font-family: var(--hiv-font-display, 'DM Sans', sans-serif) !important;
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-content,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-content {
  flex: 1 1 auto !important;
  color: rgba(13,27,42,0.78) !important;
  font-family: var(--hiv-font-body, 'Inter', sans-serif) !important;
  font-size: 0.96rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-content p,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-content p {
  margin: 0 0 12px !important;
  color: rgba(13,27,42,0.78) !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-content ul,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-content ul {
  list-style: none !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-content li,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-content li {
  position: relative !important;
  margin: 0 0 9px !important;
  padding: 0 0 0 24px !important;
  color: rgba(13,27,42,0.82) !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-content li::before,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-content li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--hiv-green, #12A150) !important;
  font-weight: 950 !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-bottom,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-bottom {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-link,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background: var(--hiv-blue, #1A56DB) !important;
  color: #ffffff !important;
  font-family: var(--hiv-font-body, 'Inter', sans-serif) !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(26,86,219,0.22) !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .ihc-level-item-link:hover,
.ich_level_wrap.ihc_level_template_5 .ihc-level-item-link:hover {
  background: #1649b8 !important;
  color: #ffffff !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-featured,
.ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-featured {
  border: 2px solid var(--hiv-gold, #E8A020) !important;
  box-shadow: 0 18px 48px rgba(232,160,32,0.18) !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-featured .ihc-level-item-wrap::before,
.ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-featured .ihc-level-item-wrap::before {
  content: 'Research Desk starts here' !important;
  display: inline-flex !important;
  align-self: flex-start !important;
  margin: 0 0 14px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(232,160,32,0.16) !important;
  color: #7a4a00 !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-organization .ihc-level-item-price,
.ich_level_wrap.ihc_level_template_5 .hiv-ump-plan-organization .ihc-level-item-price {
  color: var(--hiv-navy, #0D1B2A) !important;
  font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
}

@media (max-width: 640px) {
  .hiv-ump-wrapper .ich_level_wrap.ihc_level_template_5,
  .ich_level_wrap.ihc_level_template_5 {
    grid-template-columns: 1fr !important;
  }
}


/* Upgrade Required redirect page and pricing notice */
.hiv-ump-upgrade-required-page .hiv-ump-form-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hiv-upgrade-required-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 18px 45px rgba(7, 20, 40, 0.08);
}

.hiv-upgrade-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f1ff;
  color: #0756b8;
  border: 1px solid #bcd6ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hiv-upgrade-required-card h1 {
  margin: 0 0 14px !important;
  color: #071428 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em;
}

.hiv-upgrade-required-card p {
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.62;
  margin: 0 0 18px;
}

.hiv-upgrade-note {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.hiv-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hiv-upgrade-actions-small {
  margin-top: 8px;
}

.hiv-upgrade-primary,
.hiv-upgrade-secondary,
.hiv-upgrade-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
  line-height: 1.1;
}

.hiv-upgrade-primary {
  background: #1a56db;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.22);
}

.hiv-upgrade-primary:hover {
  background: #1649b8;
  color: #ffffff !important;
}

.hiv-upgrade-secondary {
  background: #ffffff;
  color: #071428 !important;
  border: 1px solid #cbd5e1;
}

.hiv-upgrade-secondary:hover {
  background: #f8fafc;
  color: #071428 !important;
}

.hiv-upgrade-text-link {
  min-height: 0;
  padding: 0;
  color: #1a56db !important;
  border-radius: 0;
}

.hiv-upgrade-small {
  margin-top: 22px !important;
  font-size: 0.9rem !important;
  color: #64748b !important;
}

.hiv-pricing-upgrade-notice {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.06);
}

.hiv-pricing-upgrade-notice strong {
  color: #7c2d12;
}

@media (max-width: 640px) {
  .hiv-upgrade-actions {
    display: grid;
  }

  .hiv-upgrade-primary,
  .hiv-upgrade-secondary {
    width: 100%;
  }
}
