/* ==========================================================
   TheDiveProfessional – OS Membership Pro Plan Detail
   Scope: Membership detail page only
   Component: Membership Pro / OS Membership
   Notes:
   - Page classes are on <html>, not <body>
   - CSS belongs in Membership Pro > Configuration > Custom CSS
   - Layout: top image + summary, then full-width content
   ========================================================== */


/* ----------------------------------------------------------
   Page background and spacing
   ---------------------------------------------------------- */

html.com_osmembership.view-plan body {
  background: #f5f8fc;
}

html.com_osmembership.view-plan #t3-mainbody {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}


/* ----------------------------------------------------------
   Main plan container
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item.osm-container {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 46, 153, 0.14);
  box-shadow: 0 24px 60px rgba(0, 28, 75, 0.14);
}


/* ----------------------------------------------------------
   Heading / hero bar
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-item-heading-box {
  margin: 0;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, #000814 0%, #003466 52%, #0b58b5 100%);
  color: #ffffff;
}

html.com_osmembership.view-plan #osm-plan-item .osm-page-title {
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
}


/* ----------------------------------------------------------
   Main grid
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-item-description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem 2.4rem;
  padding: 2.4rem 3rem 2.8rem;
  align-items: start;
}

html.com_osmembership.view-plan #osm-plan-item .osm-item-description > .row {
  display: contents;
}

/* Let children of the Membership Pro text column use the parent grid */
html.com_osmembership.view-plan #osm-plan-item .osm-description-details {
  display: contents;
  font-family: "Questrial", Arial, sans-serif;
  color: #1b2a41;
  font-size: 1.02rem;
  line-height: 1.72;
}

html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5 {
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  max-width: none;
  float: none;
}


/* ----------------------------------------------------------
   Membership image — top left
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item img.osm-thumb-left {
  grid-column: 1;
  grid-row: 1;
  display: block;
  float: none !important;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 52, 102, 0.1);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(0, 28, 75, 0.16);
}

html.com_osmembership.view-plan #osm-plan-item .img-polaroid {
  background-color: #ffffff;
  border: 1px solid rgba(0, 52, 102, 0.1);
}


/* ----------------------------------------------------------
   Membership summary panel — top right
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5 {
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  border: 1px solid rgba(0, 52, 102, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 28, 75, 0.1);
}

html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5::before {
  content: "Membership Summary";
  display: block;
  margin: 0 0 1rem;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid rgba(0, 52, 102, 0.1);
  color: #003466;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5::after {
  content: "Your membership supports the development of independent professional representation, member services, and long-term industry cooperation.";
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(36, 195, 222, 0.08);
  border: 1px solid rgba(36, 195, 222, 0.2);
  border-radius: 16px;
  color: #17314f;
  font-family: "Questrial", Arial, sans-serif;
  font-size: 0.93rem;
  line-height: 1.55;
}


/* ----------------------------------------------------------
   Price / duration table
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item table.table {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 52, 102, 0.11);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 28, 75, 0.08);
}

html.com_osmembership.view-plan #osm-plan-item table.table tr,
html.com_osmembership.view-plan #osm-plan-item table.table td {
  border: 0;
}

html.com_osmembership.view-plan #osm-plan-item table.table tr + tr td {
  border-top: 1px solid rgba(0, 52, 102, 0.1);
}

html.com_osmembership.view-plan #osm-plan-item .osm-plan-property-label {
  width: 42%;
  padding: 1.15rem 1rem;
  background: linear-gradient(180deg, #eef3fb 0%, #e5ecf7 100%);
  color: #09213f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

html.com_osmembership.view-plan #osm-plan-item .osm-plan-property-value {
  padding: 1.15rem 1.1rem;
  color: #07182f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  background: #ffffff;
}


/* ----------------------------------------------------------
   Text content placement
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-description-details h3,
html.com_osmembership.view-plan #osm-plan-item .osm-description-details p,
html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4,
html.com_osmembership.view-plan #osm-plan-item .osm-description-details ul {
  grid-column: 1 / -1;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details h3 {
  margin: 0.5rem 0 1rem;
  color: #002e99;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4 {
  margin: 2.15rem 0 0.85rem;
  color: #003466;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.16rem;
  line-height: 1.25;
  font-weight: 700;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details p {
  max-width: 920px;
  margin: 0 0 1rem;
  color: #1b2a41;
  font-family: "Questrial", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.72;
}


/* ----------------------------------------------------------
   Styled content cards
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4 + ul {
  margin: 0 0 1.35rem;
  padding: 1.2rem 1.25rem;
  list-style: none;
  background: #f8fbff;
  border: 1px solid rgba(0, 52, 102, 0.09);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 28, 75, 0.055);
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.55rem;
  color: #1b2a41;
  font-family: "Questrial", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details li:last-child {
  margin-bottom: 0;
}

html.com_osmembership.view-plan #osm-plan-item .osm-description-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #24c3de;
  box-shadow: 0 0 0 4px rgba(36, 195, 222, 0.16);
}


/* ----------------------------------------------------------
   Desktop section card layout
   Explicit row control prevents heading/card separation
   ---------------------------------------------------------- */

@media (min-width: 992px) {
  /* Main text heading and opening paragraphs */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h3 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details > p:nth-of-type(1) {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details > p:nth-of-type(2) {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  /* First two section headings side by side */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(1) {
    grid-column: 1;
    grid-row: 5;
    margin-top: 2.2rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(2) {
    grid-column: 2;
    grid-row: 5;
    margin-top: 2.2rem;
  }

  /* First two cards side by side */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(1) + ul {
    grid-column: 1;
    grid-row: 6;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(2) + ul {
    grid-column: 2;
    grid-row: 6;
  }

  /* Balance first two cards */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(1) + ul,
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(2) + ul {
    min-height: 215px;
  }

  /* Important notes full width */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(3) {
    grid-column: 1 / -1;
    grid-row: 7;
    margin-top: 2.2rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4:nth-of-type(3) + ul {
    grid-column: 1 / -1;
    grid-row: 8;
  }

  /* Final highlight full width */
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details > p:last-child {
    grid-column: 1 / -1;
    grid-row: 9;
  }
}


/* ----------------------------------------------------------
   Final paragraph emphasis
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-description-details > p:last-child {
  margin-top: 1.6rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 52, 102, 0.06), rgba(36, 195, 222, 0.08));
  border-left: 4px solid #24c3de;
  border-radius: 16px;
  color: #09213f;
}


/* ----------------------------------------------------------
   Sign-up button — footer CTA
   ---------------------------------------------------------- */

html.com_osmembership.view-plan #osm-plan-item .osm-taskbar {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid rgba(0, 52, 102, 0.1);
}

html.com_osmembership.view-plan #osm-plan-item .osm-taskbar ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.com_osmembership.view-plan #osm-plan-item .osm-taskbar li {
  margin: 0;
  padding: 0;
}

html.com_osmembership.view-plan #osm-plan-item .osm-taskbar .btn,
html.com_osmembership.view-plan #osm-plan-item .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #061f3f;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 28, 75, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

html.com_osmembership.view-plan #osm-plan-item .osm-taskbar .btn:hover,
html.com_osmembership.view-plan #osm-plan-item .btn-primary:hover,
html.com_osmembership.view-plan #osm-plan-item .osm-taskbar .btn:focus,
html.com_osmembership.view-plan #osm-plan-item .btn-primary:focus {
  background: #003466;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 28, 75, 0.3);
}


/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 991.98px) {
  html.com_osmembership.view-plan #osm-plan-item.osm-container {
    max-width: 92vw;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-description {
    display: block;
    padding: 2rem 2rem 2.4rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-description > .row,
  html.com_osmembership.view-plan #osm-plan-item .osm-description-details {
    display: block;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details,
  html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5 {
    width: auto !important;
    max-width: none;
  }

  html.com_osmembership.view-plan #osm-plan-item img.osm-thumb-left {
    max-width: 520px;
    margin: 0 auto 1.8rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5 {
    margin-top: 2rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-taskbar {
    margin: 1rem 0 0;
    padding: 1.4rem 0 0;
  }
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {
  html.com_osmembership.view-plan #t3-mainbody {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  html.com_osmembership.view-plan #osm-plan-item.osm-container {
    max-width: 94vw;
    border-radius: 18px;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-heading-box {
    padding: 1.6rem 1.35rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-page-title {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-description {
    padding: 1.45rem 1.25rem 1.8rem;
  }

  html.com_osmembership.view-plan #osm-plan-item img.osm-thumb-left {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0.8rem;
    border-radius: 16px;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h3 {
    font-size: 1.42rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-description-details h4 + ul {
    padding: 1rem;
    border-radius: 15px;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-item-description .col-md-5 {
    padding: 1rem;
    border-radius: 18px;
  }

  html.com_osmembership.view-plan #osm-plan-item table.table {
    border-radius: 14px;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-plan-property-label,
  html.com_osmembership.view-plan #osm-plan-item .osm-plan-property-value {
    padding: 1rem 0.9rem;
    font-size: 0.9rem;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-taskbar ul {
    justify-content: stretch;
  }

  html.com_osmembership.view-plan #osm-plan-item .osm-taskbar li,
  html.com_osmembership.view-plan #osm-plan-item .osm-taskbar .btn,
  html.com_osmembership.view-plan #osm-plan-item .btn-primary {
    width: 100%;
  }
}
/* ==========================================================
   TDP / IADP – OS Membership Pro Signup Styling
   Scope: Membership Pro registration / subscription pages
   Target layout: columns layout
   ========================================================== */

:root {
  --tdp-blue: #002e99;
  --tdp-blue-dark: #061b3d;
  --tdp-blue-deep: #03142f;
  --tdp-blue-soft: #eef5ff;
  --tdp-cyan: #24c3de;
  --tdp-border: rgba(0, 46, 153, 0.14);
  --tdp-text: #10213f;
  --tdp-muted: #5f6f89;
  --tdp-radius-lg: 22px;
  --tdp-radius-md: 14px;
  --tdp-shadow-soft: 0 18px 45px rgba(3, 20, 47, 0.12);
  --tdp-shadow-card: 0 10px 28px rgba(3, 20, 47, 0.08);
}

/* Main page wrapper */
#osm-signup-page-columns {
  max-width: 1160px;
  margin: 2.5rem auto 4rem;
  padding: 0;
  color: var(--tdp-text);
}

/* Page title area */
#osm-signup-page-columns .osm-page-title {
  margin: 0;
  padding: 2rem 2.25rem 1.1rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  background:
    radial-gradient(circle at top right, rgba(36, 195, 222, 0.28), transparent 34%),
    linear-gradient(135deg, var(--tdp-blue-deep), var(--tdp-blue));
  border-radius: var(--tdp-radius-lg) var(--tdp-radius-lg) 0 0;
}

/* Hide default component intro message */
#osm-signup-page-columns .osm-message {
  display: none;
}

/* Main card shell */
#osm-signup-page-columns-form {
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--tdp-border);
  border-top: 0;
  border-radius: 0 0 var(--tdp-radius-lg) var(--tdp-radius-lg);
  box-shadow: var(--tdp-shadow-soft);
}

/* Column cards */
#osm-columns-subscription-information,
#osm-columns-payment-information {
  height: 100%;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--tdp-border);
  border-radius: var(--tdp-radius-md);
  box-shadow: var(--tdp-shadow-card);
}

/* Payment column emphasis */
#osm-columns-payment-information {
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  border-color: rgba(0, 46, 153, 0.22);
}

/* Sticky payment card on desktop */
@media (min-width: 992px) {
  #osm-columns-payment-information {
    position: sticky;
    top: 1.5rem;
  }
}

/* Section headings */
#osm-signup-page-columns .osm-heading {
  margin: 0 0 1.15rem;
  color: var(--tdp-blue-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

#osm-signup-page-columns h3.osm-heading {
  padding-bottom: 0.7rem;
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(0, 46, 153, 0.14);
}

/* Add spacing before new user section */
#osm-new-user-register {
  margin-top: 2rem !important;
}

/* Form row cleanup */
#osm-signup-page-columns .form-group,
#osm-signup-page-columns .form-row {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1rem;
}

/* Labels */
#osm-signup-page-columns .form-control-label {
  padding-top: 0.35rem;
  color: var(--tdp-blue-dark);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

#osm-signup-page-columns label {
  margin-bottom: 0.25rem;
  color: var(--tdp-blue-dark);
  font-weight: 700;
}

#osm-signup-page-columns .required,
#osm-signup-page-columns .star {
  color: #d71920;
  font-weight: 700;
}

/* Inputs and selects */
#osm-signup-page-columns .form-control,
#osm-signup-page-columns .form-select,
#osm-signup-page-columns select,
#osm-signup-page-columns input[type="text"],
#osm-signup-page-columns input[type="password"],
#osm-signup-page-columns input[type="email"] {
  min-height: 42px;
  width: 100%;
  color: var(--tdp-text);
  background-color: #ffffff;
  border: 1px solid rgba(16, 33, 63, 0.18);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

#osm-signup-page-columns .form-control:focus,
#osm-signup-page-columns .form-select:focus,
#osm-signup-page-columns select:focus,
#osm-signup-page-columns input[type="text"]:focus,
#osm-signup-page-columns input[type="password"]:focus,
#osm-signup-page-columns input[type="email"]:focus {
  border-color: var(--tdp-blue);
  box-shadow: 0 0 0 3px rgba(0, 46, 153, 0.12);
  outline: none;
}

/* Password eye button */
#osm-signup-page-columns .password-group .input-group {
  display: flex;
  width: 100%;
}

#osm-signup-page-columns .password-group .form-control {
  border-radius: 10px 0 0 10px;
}

#osm-signup-page-columns .input-password-toggle {
  min-width: 44px;
  color: #ffffff;
  background: var(--tdp-blue-dark);
  border: 1px solid var(--tdp-blue-dark);
  border-radius: 0 10px 10px 0;
}

/* Login button */
#osm-signup-page-columns #btnLoginButton {
  margin-top: 0.2rem;
  padding: 0.65rem 1.2rem;
  color: #ffffff;
  background: var(--tdp-blue-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

/* Payment price display */
#osm-amount-container {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 46, 153, 0.16);
  border-radius: 14px;
}

#osm-amount-container label {
  font-size: 0.95rem;
}

#osm-amount-container .osm-addon-container {
  display: flex;
  align-items: center;
  max-width: 180px;
}

#osm-amount-container .input-group-text {
  min-height: 44px;
  padding: 0 0.85rem;
  color: #ffffff;
  background: var(--tdp-blue);
  border: 1px solid var(--tdp-blue);
  border-radius: 10px 0 0 10px;
  font-weight: 800;
}

#osm-amount-container #amount {
  min-height: 44px;
  color: var(--tdp-blue-dark);
  background: #ffffff;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Stripe logo/payment method */
#payment_method_container {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 46, 153, 0.1);
  border-radius: 14px;
}

#payment_method_container .osm-payment-method-icon {
  max-height: 38px;
  width: auto;
}

/* Stripe card element container */
#stripe-card-form {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 46, 153, 0.16);
  border-radius: 14px;
}

/* Terms box */
.osm-terms-and-conditions-container {
  padding: 1rem;
  background: rgba(0, 46, 153, 0.045);
  border: 1px solid rgba(0, 46, 153, 0.14);
  border-radius: 14px;
}

.osm-terms-and-conditions-container a {
  color: var(--tdp-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.osm-terms-and-conditions-container .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-weight: 600;
}

#osm-accept-terms-conditions {
  margin-top: 0.25rem;
}

/* Submit area */
#osm-signup-page-columns .form-actions {
  margin: 1.3rem 0 0;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(3, 20, 47, 0.06), rgba(0, 46, 153, 0.08));
  border-radius: 16px;
  text-align: right;
}

#osm-signup-page-columns #btn-submit {
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--tdp-blue-dark), var(--tdp-blue));
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 46, 153, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#osm-signup-page-columns #btn-submit:hover,
#osm-signup-page-columns #btn-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 46, 153, 0.28);
  background: linear-gradient(135deg, var(--tdp-blue), var(--tdp-cyan));
}

/* Validation messages */
.formError .formErrorContent {
  background: #d71920;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

/* Mobile and tablet */
@media (max-width: 991.98px) {
  #osm-signup-page-columns {
    margin: 1.5rem auto 3rem;
  }

  #osm-signup-page-columns-form {
    padding: 1.25rem;
  }

  #osm-columns-subscription-information,
  #osm-columns-payment-information {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }

  #osm-signup-page-columns .osm-page-title {
    padding: 1.5rem;
    font-size: 2rem;
  }

  #osm-signup-page-columns .form-actions {
    text-align: center;
  }

  #osm-signup-page-columns #btn-submit {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  #osm-signup-page-columns .form-control-label,
  #osm-signup-page-columns .eb-form-control {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #osm-signup-page-columns .form-control-label {
    margin-bottom: 0.25rem;
    padding-top: 0;
  }

  #osm-signup-page-columns .osm-page-title {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  #osm-signup-page-columns h3.osm-heading {
    font-size: 1.18rem;
  }

  #osm-amount-container .osm-addon-container {
    max-width: 100%;
  }
}