/* Школа ДжиШи — лендинг v2 (прототип) */

.v2-prototype-banner {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-dark);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.v2-prototype-banner a {
  color: var(--primary-dark);
  font-weight: 600;
}

.navbar-v2 .nav-link--accent {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-v2 .btn-nav-register {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  padding: 0.8rem 1.35rem !important;
  background: linear-gradient(120deg, var(--skillspace) 0%, var(--skillspace-dark) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(30, 177, 148, 0.28);
}

.navbar-v2 .btn-nav-register:hover,
.navbar-v2 .btn-nav-register:focus-visible {
  background: linear-gradient(120deg, #22c9a8 0%, var(--skillspace-dark) 100%) !important;
  box-shadow: 0 6px 20px rgba(30, 177, 148, 0.36);
  transform: translateY(-1px);
}

/* Hero spot — карточка в духе референса */
.hero-spot {
  padding: 1.75rem 0 0;
  background: var(--white);
}

.hero-spot-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 3rem);
  background: var(--bg-cream);
  border-radius: 28px;
  overflow: hidden;
}

#heroSpotCard {
  padding-bottom: 0;
  background-color: var(--bg-cream);
  background-image: url("../img/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero-spot-row {
  align-items: stretch;
}

.hero-spot-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.hero-spot-copy .hero-greetings {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.hero-spot-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 22rem;
}

.hero-spot-mark {
  position: relative;
  white-space: nowrap;
}

.hero-spot-mark::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.2em;
  top: 52%;
  height: 0.72em;
  border: 2.5px solid var(--primary-color);
  border-radius: 50%;
  transform: rotate(-4deg) translateY(-50%);
  pointer-events: none;
}

.hero-spot-mark--inline::after {
  top: 58%;
}

.hero-spot-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 1.5rem;
}

.hero-spot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 1.1rem 2.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: none;
  border: none !important;
  border-radius: 999px !important;
  color: var(--white) !important;
  background: linear-gradient(120deg, var(--skillspace) 0%, var(--skillspace-dark) 100%) !important;
  box-shadow: 0 6px 22px rgba(30, 177, 148, 0.32);
  transition: var(--transition);
}

.hero-spot-cta:hover,
.hero-spot-cta:focus-visible {
  color: var(--white) !important;
  background: linear-gradient(120deg, #22c9a8 0%, var(--skillspace-dark) 100%) !important;
  box-shadow: 0 8px 26px rgba(30, 177, 148, 0.4);
  transform: translateY(-2px);
}

.hero-spot-copy .hero-spot-cta {
  align-self: flex-start;
}

.v2-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.v2-cta-block--center {
  align-items: center;
}

.v2-cta-note {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 22rem;
}

.v2-demo-strip .v2-cta-note {
  max-width: 28rem;
}

.hero-spot-bonus {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-spot-bonus-arrow {
  flex-shrink: 0;
  color: var(--primary-color);
  width: 42px;
  height: 28px;
}

.hero-spot-bonus-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(218, 68, 82, 0.35);
  text-underline-offset: 3px;
}

.hero-spot-bonus-link:hover {
  color: var(--primary-color);
}

.hero-spot-bonus-text {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 22rem;
}

.hero-spot-visual {
  position: relative;
  z-index: 2;
  min-height: clamp(260px, 36vw, 400px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.hero-spot-photo-wrap {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.hero-spot-photo {
  display: block;
  max-height: min(460px, 58vh);
  width: auto;
  max-width: min(100%, 400px);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  margin: 0;
  vertical-align: bottom;
}

.hero-spot-photo--mascot {
  max-height: min(360px, 48vh);
  object-fit: contain;
}

@media (max-width: 991px) {
  .hero-spot-title { max-width: none; }
  .hero-spot-lead { max-width: none; }

  .hero-spot-copy {
    padding-bottom: 1.5rem;
  }

  .hero-spot-visual {
    min-height: 220px;
    padding-top: 0.25rem;
  }

  .hero-spot-photo {
    max-height: min(340px, 48vh);
    max-width: min(100%, 280px);
  }

  #heroSpotCard {
    background-position: right center;
  }
}

/* Статистика под hero */
.hero-stats {
  padding: 2.5rem 0;
  background: var(--white);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.hero-stat {
  padding: 0.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(27, 27, 35, 0.12);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.hero-stat__label {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 14rem;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0;
  }

  .hero-stat {
    border-right: none;
    padding: 0 0.75rem;
  }

  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(27, 27, 35, 0.12);
  }
}

@media (max-width: 575px) {
  .hero-stats-grid { grid-template-columns: 1fr; }

  .hero-stat:nth-child(odd) { border-right: none; }
}

/* Блок «поможет вам» */
.section-padding-sm {
  padding: 3.5rem 0 4rem;
}

.hero-helps {
  background: var(--white);
}

.hero-helps-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  position: relative;
  max-width: 16rem;
}

.hero-helps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-help-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-help-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(218, 68, 82, 0.1);
  color: var(--primary-color);
  font-size: 1.15rem;
}

@media (max-width: 575px) {
  .hero-helps-grid { grid-template-columns: 1fr; }
  .hero-helps-title { max-width: none; }
  .about-platform-features { grid-template-columns: 1fr; }
}

/* Hero v2 legacy — удалено, оставлены утилиты */
.hero-v2-actions {
  margin-bottom: 1rem;
}

/* О школе + платформа — единый блок */
.about-platform-section {
  scroll-margin-top: 5rem;
}

.about-platform-card {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.about-platform-lead {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 42rem;
}

.about-platform-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.about-platform-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-dark);
}

.about-platform-features i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.about-platform-divider {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--border-light);
}

.about-platform-demo {
  padding-top: 0.15rem;
}

#platform {
  scroll-margin-top: 5rem;
}

.platform-unified-card {
  margin-bottom: 0;
}

.platform-intro .platform-free-mark {
  font-weight: 700;
  color: var(--skillspace);
}

.platform-unified-copy .hero-helps-title {
  max-width: none;
}

.platform-unified-helps .hero-help-card {
  padding: 0.85rem 0.9rem;
  font-size: 0.85rem;
}

.platform-intro {
  max-width: none;
}

.platform-screens-carousel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.platform-screens-inner {
  border-radius: 20px;
}

.platform-screen-slide {
  margin: 0;
  background: var(--white);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.platform-screen-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.platform-screens-control {
  width: 2.5rem;
  opacity: 1;
}

.platform-screens-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--white);
  font-size: 1.1rem;
}

.platform-screens-carousel:hover .platform-screens-control-icon {
  background: var(--primary-color);
}

.platform-screens-indicators {
  margin-bottom: 0.65rem;
}

.platform-screens-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-light);
  border: none;
  opacity: 1;
}

.platform-screens-indicators .active {
  background-color: var(--primary-color);
}

@media (max-width: 991px) {
  .platform-unified-helps {
    grid-template-columns: 1fr;
  }
}

/* Journey */
.journey-section {
  scroll-margin-top: 5rem;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .journey-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .journey-steps {
    grid-template-columns: 1fr;
  }
}

.journey-step {
  position: relative;
  text-align: left;
  padding: 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  width: 100%;
}

.journey-step:hover {
  border-color: rgba(218, 68, 82, 0.45);
}

.journey-step.is-active {
  border-color: var(--primary-color);
  background: rgba(218, 68, 82, 0.06);
}

.journey-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.journey-step.is-active .journey-step__num {
  background: var(--primary-color);
  color: var(--white);
}

.journey-step__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.journey-step__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.journey-detail {
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
}

.journey-detail__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.journey-detail__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.journey-detail__list li {
  margin-bottom: 0.35rem;
}

/* Секции v2 — единый стиль карточек */
.v2-section {
  padding: 0 0 2.5rem;
  scroll-margin-top: 5rem;
}

.v2-section--last {
  padding-bottom: 3.5rem;
}

.v2-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}

.v2-inner-card {
  background: var(--white) !important;
  border-radius: 16px !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-sm) !important;
}

.v2-inner-card.format-card {
  padding: 1.5rem 1.25rem;
}

#teachers .teacher-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.teachers-carousel {
  position: relative;
  padding: 0 2.75rem;
}

.teachers-carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0 0.5rem;
}

.teachers-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.teachers-carousel-viewport:focus {
  outline: none;
}

.teachers-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(218, 68, 82, 0.2);
  border-radius: 16px;
}

.teachers-carousel-track {
  display: flex;
  gap: 1rem;
}

.teachers-carousel-slide {
  flex: 0 0 calc(100% - 0.5rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.teachers-carousel-control {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.teachers-carousel-control--prev {
  left: 0;
}

.teachers-carousel-control--next {
  right: 0;
}

.teachers-carousel-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--white);
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
}

.teachers-carousel-control:hover .teachers-carousel-control-icon,
.teachers-carousel-control:focus-visible .teachers-carousel-control-icon {
  background: var(--primary-color);
}

.teachers-carousel-control:disabled {
  opacity: 0.35;
  cursor: default;
}

.teachers-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.teachers-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
}

.teachers-carousel-dot.is-active {
  background: var(--primary-color);
}

@media (min-width: 768px) {
  .teachers-carousel-slide {
    flex-basis: calc(50% - 0.5rem);
  }
}

@media (min-width: 1200px) {
  .teachers-carousel-slide {
    flex-basis: calc(33.333% - 0.67rem);
  }
}

@media (max-width: 575.98px) {
  .teachers-carousel {
    padding: 0 2.25rem;
  }

  .teachers-carousel-control {
    top: 38%;
  }
}

#about .about-mascot-bubble {
  background: var(--white);
  border: 1px solid var(--border-light);
}

.v2-side-panel {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.v2-demo-strip {
  border-top: 1px solid rgba(27, 27, 35, 0.08);
}

.v2-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.v2-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.v2-social-link:hover {
  border-color: rgba(196, 30, 58, 0.25);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.v2-social-link__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(196, 30, 58, 0.08);
  color: var(--primary-color);
  font-size: 1.35rem;
}

.v2-social-link__icon--vk .vk-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.v2-social-link__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.v2-social-link__name {
  font-weight: 600;
  line-height: 1.3;
}

.v2-social-link__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.v2-social-link__arrow {
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.hero-spot-cta.w-100 {
  width: 100% !important;
  min-width: 0;
}

.btn-outline-hero.w-100 {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* About v2 — сразу под hero */
.about-v2--after-hero {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Trial v2 bridge */
.trial-v2-bridge {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.formats-platform-note {
  text-align: center;
  max-width: 40rem;
  margin: 1.5rem auto 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.formats-platform-note a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Sticky mobile CTA */
.v2-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-light);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.v2-sticky-cta.is-visible {
  transform: translateY(0);
}

.v2-sticky-cta .btn {
  flex: 1;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.7rem 0.5rem;
}

.v2-sticky-cta .hero-spot-cta {
  min-width: 0;
  width: 100% !important;
}

@media (min-width: 768px) {
  .v2-sticky-cta {
    display: none;
  }
}

body.v2-has-sticky {
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  body.v2-has-sticky {
    padding-bottom: 0;
  }
}

/* Модалка регистрации на Skillspace */
.register-modal-dialog {
  max-width: 420px;
}

.register-modal-content {
  position: relative;
  border: none;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.register-modal-body {
  padding: 2rem 2rem 1.75rem;
}

.register-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2394a3b8'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/0.85rem no-repeat;
  opacity: 0.75;
  cursor: pointer;
}

.register-modal-close:hover {
  opacity: 1;
}

.register-modal-title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #1f2937;
}

.register-modal-login {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #6b7280;
}

.register-modal-login a {
  color: var(--skillspace);
  font-weight: 600;
  text-decoration: none;
}

.register-modal-login a:hover {
  color: var(--skillspace-dark);
  text-decoration: underline;
}

.register-modal-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 12px;
}

.register-modal-form .register-form-block {
  margin-bottom: 0.9rem;
}

.register-modal-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6b7280;
}

.register-modal-input {
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: #111827;
  background: #f3f4f6 !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.register-modal-input::placeholder {
  color: #9ca3af;
}

.register-modal-input:focus {
  background: #eef2f7 !important;
  border-color: var(--skillspace) !important;
  box-shadow: 0 0 0 3px var(--skillspace-focus) !important;
}

.register-modal-check {
  padding-left: 1.65rem;
}

.register-modal-check .form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  border-color: #d1d5db;
}

.register-modal-check .form-check-input:checked {
  background-color: var(--skillspace);
  border-color: var(--skillspace);
}

.register-modal-check-label {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #6b7280;
}

.register-modal-check-label a {
  color: #1f2937;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-modal-check-label strong {
  font-weight: 600;
  color: #374151;
}

.register-modal-submit {
  margin-top: 0.35rem;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--skillspace);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.register-modal-submit:hover,
.register-modal-submit:focus-visible {
  color: #fff;
  background: var(--skillspace-dark);
}

.register-modal-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.register-modal-success {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #065f46;
  background: #d1fae5;
  border-radius: 12px;
}

.register-modal-success-text {
  margin: 0;
}

.register-modal-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  background: var(--skillspace);
  transition: background-color 0.2s ease;
}

.register-modal-platform-btn:hover,
.register-modal-platform-btn:focus-visible {
  color: #fff !important;
  background: var(--skillspace-dark);
}

.register-modal-form.was-validated .register-modal-input:invalid {
  border-color: #f87171 !important;
}

@media (max-width: 575.98px) {
  .register-modal-body {
    padding: 1.6rem 1.25rem 1.4rem;
  }

  .register-modal-title {
    font-size: 1.45rem;
  }
}
