/*
  AWR Course Manager form styles.
  Covers both:
  - .awrcm-webinar-form
  - .awrcm-masterclass-form
*/

.awrcm-course-signup-form {
  --awrcm-form-blue: #253f68;
  --awrcm-form-blue-soft: #6f82c4;
  --awrcm-form-pink: #e4bfb4;
  --awrcm-form-pink-strong: #cf82ad;
  --awrcm-form-border: rgba(37, 63, 104, 0.48);
  --awrcm-form-white: #ffffff;
  --awrcm-form-muted: #9f9f9f;

  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.awrcm-course-signup-form *,
.awrcm-course-signup-form *::before,
.awrcm-course-signup-form *::after {
  box-sizing: border-box;
}

.awrcm-course-signup-form form {
  display: grid !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.awrcm-course-signup-form h2 {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: var(--awrcm-form-blue-soft) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(44px, 6vw, 78px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

.awrcm-course-signup-form .awrcm-form-selected-summary {
  display: grid !important;
  gap: 4px !important;
  justify-items: center !important;
  margin: -8px 0 2px !important;
  color: var(--awrcm-form-pink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}

.awrcm-course-signup-form .awrcm-form-selected-summary::before {
  content: "❦";
  display: block;
  width: min(280px, 70%);
  margin: 0 auto 8px;
  color: var(--awrcm-form-pink);
  font-size: 28px;
  line-height: 1;
  text-align: center;
  border-top: 1px solid rgba(228, 191, 180, 0.45);
}

.awrcm-course-signup-form .awrcm-form-selected-summary span,
.awrcm-course-signup-form .awrcm-form-selected-summary strong {
  color: inherit !important;
  font-family: inherit !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
}

.awrcm-webinar-form .awrcm-form-selected-summary {
  display: none !important;
}

.awrcm-course-signup-form .awrcm-form-schedule {
  display: grid !important;
  gap: 26px !important;
  padding: clamp(28px, 4vw, 42px) !important;
  border: 1px solid var(--awrcm-form-border) !important;
  border-radius: 32px !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.awrcm-course-signup-form .awrcm-form-date {
  display: grid !important;
  gap: 20px !important;
  margin: 0 !important;
}

.awrcm-course-signup-form .awrcm-form-date > span,
.awrcm-course-signup-form .awrcm-form-time legend {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--awrcm-form-blue-soft) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

.awrcm-course-signup-form .awrcm-form-time {
  display: grid !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.awrcm-course-signup-form .awrcm-form-time::before {
  content: "❦";
  display: block;
  width: 100%;
  margin: 4px 0 6px;
  color: var(--awrcm-form-pink);
  font-size: 30px;
  line-height: 1;
  text-align: center;
  border-top: 1px solid rgba(228, 191, 180, 0.55);
}

.awrcm-course-signup-form select,
.awrcm-course-signup-form input[type="text"],
.awrcm-course-signup-form input[type="email"],
.awrcm-course-signup-form input[type="tel"] {
  width: 100% !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 16px 42px !important;
  border: 1px solid var(--awrcm-form-border) !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  color: var(--awrcm-form-blue) !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.awrcm-course-signup-form input[type="text"],
.awrcm-course-signup-form input[type="email"],
.awrcm-course-signup-form input[type="tel"] {
  padding-left: 110px !important;
  text-align: left !important;
  background-repeat: no-repeat !important;
  background-position: 42px 50% !important;
  background-size: 34px 34px !important;
}

.awrcm-course-signup-form input[name="first_name"] {
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23758aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}

.awrcm-course-signup-form input[name="email"] {
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23758aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") !important;
}

.awrcm-course-signup-form input[name="phone"] {
  background-image: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23758aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.86 19.86 0 0 1 11.19 18a19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8 9.67a16 16 0 0 0 6.33 6.33l1.23-1.23a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
}

.awrcm-course-signup-form input::placeholder {
  color: var(--awrcm-form-muted) !important;
  opacity: 1 !important;
}

.awrcm-course-signup-form .awrcm-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 34px !important;
}

.awrcm-course-signup-form .awrcm-form-time-options {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 26px !important;
}

.awrcm-course-signup-form .awrcm-form-time-option {
  display: inline-flex !important;
  min-width: min(320px, 100%) !important;
  margin: 0 !important;
  cursor: pointer !important;
}

.awrcm-course-signup-form .awrcm-form-time-option input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.awrcm-course-signup-form .awrcm-form-time-option span {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 66px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 34px !important;
  border: 1px solid var(--awrcm-form-blue-soft) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--awrcm-form-blue) !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(22px, 2.5vw, 32px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

.awrcm-course-signup-form .awrcm-form-time-option input:checked + span {
  background: linear-gradient(135deg, var(--awrcm-form-blue-soft), #536fc4) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.awrcm-course-signup-form .awrcm-form-consent {
  display: flex !important;
  max-width: 880px !important;
  gap: 22px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin: 0 auto !important;
  text-align: left !important;
  color: var(--awrcm-form-blue) !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(17px, 2vw, 24px) !important;
  line-height: 1.55 !important;
}

.awrcm-course-signup-form .awrcm-form-consent input {
  flex: 0 0 auto !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 0 !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
}

.awrcm-course-signup-form button[type="submit"] {
  display: inline-flex !important;
  width: min(820px, 100%) !important;
  min-height: 86px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 8px auto 0 !important;
  padding: 18px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--awrcm-form-pink) !important;
  box-shadow: none !important;
  color: var(--awrcm-form-blue) !important;
  font-family: Arial, sans-serif !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

.awrcm-course-signup-form button[type="submit"]:hover,
.awrcm-course-signup-form button[type="submit"]:focus {
  background: var(--awrcm-form-pink) !important;
  color: var(--awrcm-form-blue) !important;
  box-shadow: none !important;
}

.awrcm-course-signup-form .awrcm-form-message {
  margin: 0 auto 24px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.awrcm-course-signup-form .awrcm-form-message--success {
  border: 1px solid #b9e2c1 !important;
  background: #effaf1 !important;
  color: #166534 !important;
}

.awrcm-course-signup-form .awrcm-form-message--error {
  border: 1px solid #f1b7b7 !important;
  background: #fff1f1 !important;
  color: #991b1b !important;
}

/* Webinar light variant */
.awrcm-webinar-form {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(227, 247, 244, 0.72)) !important;
}

.awrcm-webinar-form .awrcm-form-schedule {
  background: rgba(255, 255, 255, 0.24) !important;
}

/* Masterclass blue variant */
.awrcm-masterclass-form {
  --awrcm-form-blue: #ffffff;
  --awrcm-form-blue-soft: #ffffff;
  --awrcm-form-pink: #d18ab3;
  --awrcm-form-pink-strong: #d18ab3;
  --awrcm-form-border: rgba(255, 255, 255, 0.22);
  --awrcm-form-muted: #a7aab7;

  padding: clamp(38px, 5vw, 64px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.10), transparent 36%),
    linear-gradient(135deg, #4d6fae 0%, #4566a1 48%, #3c5a8f 100%) !important;
}

.awrcm-masterclass-form h2 {
  color: #ffffff !important;
}

.awrcm-masterclass-form .awrcm-form-schedule {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.awrcm-masterclass-form .awrcm-form-date > span,
.awrcm-masterclass-form .awrcm-form-time legend {
  color: #ffffff !important;
}

.awrcm-masterclass-form select,
.awrcm-masterclass-form input[type="text"],
.awrcm-masterclass-form input[type="email"],
.awrcm-masterclass-form input[type="tel"] {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #1f365f !important;
}

.awrcm-masterclass-form .awrcm-form-time-option span {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  color: #ffffff !important;
}

.awrcm-masterclass-form .awrcm-form-time-option input:checked + span {
  background: linear-gradient(135deg, #d18ab3, #c984ad) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.awrcm-masterclass-form .awrcm-form-consent {
  color: #ffffff !important;
}

.awrcm-masterclass-form button[type="submit"] {
  background: linear-gradient(135deg, #d18ab3, #c984ad) !important;
  color: #ffffff !important;
}

.awrcm-masterclass-form button[type="submit"]:hover,
.awrcm-masterclass-form button[type="submit"]:focus {
  background: linear-gradient(135deg, #d18ab3, #c984ad) !important;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .awrcm-course-signup-form {
    padding: 36px 16px;
  }

  .awrcm-course-signup-form .awrcm-form-schedule {
    padding: 24px 18px !important;
    border-radius: 24px !important;
  }

  .awrcm-course-signup-form .awrcm-form-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .awrcm-course-signup-form select,
  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    min-height: 64px !important;
    font-size: 22px !important;
  }

  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    padding-left: 72px !important;
    background-position: 24px 50% !important;
    background-size: 28px 28px !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-option {
    min-width: 0 !important;
  }

  .awrcm-course-signup-form .awrcm-form-consent {
    font-size: 16px !important;
  }

  .awrcm-course-signup-form button[type="submit"] {
    min-height: 72px !important;
    letter-spacing: 0.12em !important;
  }
}

/*
  YCM landing page variant.
  Usage: [awr_masterclass_form variant="ycm"]
*/
.awrcm-masterclass-form--ycm {
  --awrcm-ycm-gold: #C9A84C;
  --awrcm-ycm-gold-light: #E8D5A3;
  --awrcm-ycm-gold-dark: #8B6914;
  --awrcm-ycm-deep: #1A1F35;
  --awrcm-ycm-violet: #1E1A38;
  --awrcm-ycm-text: #F5F0E8;
  --awrcm-ycm-muted: #B8A898;

  max-width: 760px !important;
  margin: 64px auto !important;
  padding: clamp(34px, 5vw, 56px) !important;
  border: 1px solid rgba(201, 168, 76, 0.28) !important;
  border-left: 3px solid var(--awrcm-ycm-gold) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    linear-gradient(135deg, rgba(36, 22, 64, 0.88) 0%, rgba(20, 16, 48, 0.96) 100%) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32) !important;
  color: var(--awrcm-ycm-text) !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
}

.awrcm-masterclass-form--ycm form {
  gap: 24px !important;
}

.awrcm-masterclass-form--ycm h2 {
  margin-bottom: 4px !important;
  color: var(--awrcm-ycm-gold-light) !important;
  background: linear-gradient(135deg, #E8D5A3 0%, #C9A84C 45%, #F5EDD5 75%, #A07830 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-family: "Cinzel Decorative", "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-selected-summary {
  margin: 0 0 8px !important;
  color: var(--awrcm-ycm-gold-light) !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-selected-summary::before {
  content: "" !important;
  width: 120px !important;
  height: 1px !important;
  margin: 0 auto 18px !important;
  background: linear-gradient(90deg, transparent, var(--awrcm-ycm-gold), transparent) !important;
  border: 0 !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-selected-summary span,
.awrcm-masterclass-form--ycm .awrcm-form-selected-summary strong {
  color: var(--awrcm-ycm-gold-light) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.04em !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-schedule {
  gap: 22px !important;
  padding: 28px !important;
  border: 1px solid rgba(201, 168, 76, 0.18) !important;
  border-radius: 0 !important;
  background: rgba(201, 168, 76, 0.04) !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-date > span,
.awrcm-masterclass-form--ycm .awrcm-form-time legend {
  color: var(--awrcm-ycm-gold) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-time::before {
  content: "" !important;
  height: 1px !important;
  margin: 4px 0 2px !important;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.28), transparent) !important;
  border: 0 !important;
}

.awrcm-masterclass-form--ycm select,
.awrcm-masterclass-form--ycm input[type="text"],
.awrcm-masterclass-form--ycm input[type="email"],
.awrcm-masterclass-form--ycm input[type="tel"] {
  min-height: 58px !important;
  padding: 14px 18px !important;
  border: 1px solid rgba(201, 168, 76, 0.24) !important;
  border-radius: 0 !important;
  background: rgba(10, 12, 26, 0.58) !important;
  color: var(--awrcm-ycm-text) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.04em !important;
  text-align: left !important;
}

.awrcm-masterclass-form--ycm select {
  text-align: center !important;
  color: var(--awrcm-ycm-gold-light) !important;
}

.awrcm-masterclass-form--ycm input[type="text"],
.awrcm-masterclass-form--ycm input[type="email"],
.awrcm-masterclass-form--ycm input[type="tel"] {
  padding-left: 54px !important;
  background-position: 18px 50% !important;
  background-size: 22px 22px !important;
}

.awrcm-masterclass-form--ycm input::placeholder {
  color: rgba(184, 168, 152, 0.88) !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-grid {
  gap: 18px !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-time-options {
  gap: 14px !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-time-option {
  min-width: min(240px, 100%) !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-time-option span {
  min-height: 52px !important;
  padding: 12px 24px !important;
  border: 1px solid rgba(201, 168, 76, 0.38) !important;
  border-radius: 0 !important;
  background: rgba(10, 12, 26, 0.36) !important;
  color: var(--awrcm-ycm-gold-light) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-time-option input:checked + span {
  border-color: transparent !important;
  background: linear-gradient(135deg, #E8D5A3 0%, #C9A84C 52%, #A07830 100%) !important;
  color: var(--awrcm-ycm-deep) !important;
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.22) !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-consent {
  max-width: 100% !important;
  gap: 14px !important;
  color: var(--awrcm-ycm-muted) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.7 !important;
}

.awrcm-masterclass-form--ycm .awrcm-form-consent input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important;
  accent-color: var(--awrcm-ycm-gold) !important;
}

.awrcm-masterclass-form--ycm button[type="submit"] {
  width: auto !important;
  min-width: min(100%, 420px) !important;
  min-height: 58px !important;
  margin-top: 6px !important;
  padding: 16px 34px !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #E8D5A3 0%, #C9A84C 50%, #A07830 100%) !important;
  color: var(--awrcm-ycm-deep) !important;
  font-family: "Raleway", Arial, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.26) !important;
}

.awrcm-masterclass-form--ycm button[type="submit"]:hover,
.awrcm-masterclass-form--ycm button[type="submit"]:focus {
  background: linear-gradient(135deg, #F5EDD5 0%, #E8D5A3 100%) !important;
  color: var(--awrcm-ycm-deep) !important;
  box-shadow: 0 8px 60px rgba(201, 168, 76, 0.42) !important;
}

@media (max-width: 760px) {
  .awrcm-masterclass-form--ycm {
    margin: 36px auto !important;
    padding: 30px 22px !important;
  }

  .awrcm-masterclass-form--ycm .awrcm-form-schedule {
    padding: 22px 18px !important;
  }

  .awrcm-masterclass-form--ycm .awrcm-form-grid {
    grid-template-columns: 1fr !important;
  }

  .awrcm-masterclass-form--ycm button[type="submit"] {
    width: 100% !important;
  }
}

.awrcm-course-signup-form form.awrcm-is-submitting {
  opacity: 0.82;
  pointer-events: none;
}

.awrcm-course-signup-form form.awrcm-is-submitting button[type="submit"] {
  cursor: wait !important;
}

@media (max-width: 480px) {

  .awrcm-course-signup-form {
    padding: 24px 12px !important;
  }

  .awrcm-course-signup-form h2 {
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .awrcm-course-signup-form .awrcm-form-date > span,
  .awrcm-course-signup-form .awrcm-form-time legend {
    font-size: 24px !important;
  }

  .awrcm-course-signup-form select,
  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    min-height: 56px !important;
    font-size: 18px !important;
    padding-right: 18px !important;
  }

  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    padding-left: 56px !important;
    background-position: 18px 50% !important;
    background-size: 22px 22px !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-option {
    min-width: 0 !important;
    width: 100% !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-option span {
    min-height: 56px !important;
    font-size: 18px !important;
    padding: 12px 18px !important;
  }

  .awrcm-course-signup-form button[type="submit"] {
    min-height: 60px !important;
    font-size: 18px !important;
    letter-spacing: 0.08em !important;
  }

  .awrcm-course-signup-form .awrcm-form-consent {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .awrcm-masterclass-form--ycm {
    padding: 22px 14px !important;
  }
}

/*
  Narrow phone form fixes.
  Prevents signup forms from overflowing small mobile screens.
*/
@media (max-width: 480px) {
  .awrcm-course-signup-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 10px !important;
    overflow-x: hidden !important;
  }

  .awrcm-course-signup-form form {
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .awrcm-course-signup-form h2 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  .awrcm-course-signup-form .awrcm-form-schedule {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 12px !important;
    gap: 18px !important;
    overflow-x: hidden !important;
  }

  .awrcm-course-signup-form .awrcm-form-date > span,
  .awrcm-course-signup-form .awrcm-form-time legend {
    font-size: 24px !important;
  }

  .awrcm-course-signup-form select,
  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    font-size: 18px !important;
    padding-right: 18px !important;
  }

  .awrcm-course-signup-form input[type="text"],
  .awrcm-course-signup-form input[type="email"],
  .awrcm-course-signup-form input[type="tel"] {
    padding-left: 54px !important;
    background-position: 18px 50% !important;
    background-size: 22px 22px !important;
  }

  .awrcm-course-signup-form .awrcm-form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-option {
    width: 100% !important;
    min-width: 0 !important;
  }

  .awrcm-course-signup-form .awrcm-form-time-option span {
    min-height: 56px !important;
    font-size: 18px !important;
    padding: 12px 16px !important;
  }

  .awrcm-course-signup-form .awrcm-form-consent {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .awrcm-course-signup-form button[type="submit"] {
    width: 100% !important;
    min-height: 60px !important;
    font-size: 18px !important;
    letter-spacing: 0.08em !important;
    padding: 14px 16px !important;
  }

  .awrcm-masterclass-form--ycm {
    padding: 22px 14px !important;
  }
}
