@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

.gbo-registration {
  --gbo-ink: #12201c;
  --gbo-muted: #5f7269;
  --gbo-line: rgba(18, 32, 28, 0.12);
  --gbo-surface: rgba(255, 255, 255, 0.78);
  --gbo-surface-solid: #f7faf8;
  --gbo-accent: #0f766e;
  --gbo-accent-2: #146c45;
  --gbo-accent-soft: rgba(15, 118, 110, 0.1);
  --gbo-error: #b42318;
  --gbo-success: #067647;
  --gbo-radius: 14px;
  --gbo-shadow: 0 18px 50px rgba(16, 40, 32, 0.1);
  max-width: 820px;
  margin: 0 auto;
  color: var(--gbo-ink);
  font-family: "Outfit", sans-serif;
}

.gbo-registration *,
.gbo-registration *::before,
.gbo-registration *::after {
  box-sizing: border-box;
}

.gbo-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.5rem;
  background:
    radial-gradient(1000px 420px at 0% -10%, rgba(20, 108, 69, 0.18), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(15, 118, 110, 0.16), transparent 50%),
    linear-gradient(160deg, #eef7f3 0%, #f8faf9 42%, #e9f2ee 100%);
  border: 1px solid rgba(18, 32, 28, 0.08);
  box-shadow: var(--gbo-shadow);
  animation: gbo-fade-up 0.55s ease both;
}

.gbo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 32, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 28, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  pointer-events: none;
}

.gbo-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.35rem;
}

.gbo-header__eyebrow {
  margin: 0 0 0.4rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gbo-accent);
}

.gbo-header h2 {
  margin: 0 0 0.4rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--gbo-ink);
}

.gbo-header p {
  margin: 0;
  max-width: 38rem;
  color: var(--gbo-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.gbo-notice {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1.05rem;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  animation: gbo-fade-up 0.4s ease both;
}

.gbo-notice::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex: 0 0 auto;
}

.gbo-notice--success {
  background: #e8f8ef;
  border-color: #b7e4c7;
  color: var(--gbo-success);
}

.gbo-notice--success::before {
  background: var(--gbo-success);
}

.gbo-notice--error {
  background: #fef3f2;
  border-color: #fecdca;
  color: var(--gbo-error);
}

.gbo-notice--error::before {
  background: var(--gbo-error);
}

.gbo-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.gbo-section {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  background: var(--gbo-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gbo-line);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gbo-section:hover {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 10px 28px rgba(16, 40, 32, 0.06);
}

.gbo-section__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--gbo-ink);
}

.gbo-section__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  background: var(--gbo-accent-soft);
  color: var(--gbo-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.gbo-form__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .gbo-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gbo-form__grid--3 {
    grid-template-columns: 1.2fr 1fr 0.9fr;
  }

  .gbo-form__grid--id {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.gbo-form__row {
  display: grid;
  gap: 0.38rem;
}

.gbo-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #24352f;
}

.gbo-required {
  color: #d92d20;
}

.gbo-form input[type="text"],
.gbo-form input[type="url"],
.gbo-form input[type="tel"],
.gbo-form input[type="number"],
.gbo-form textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(18, 32, 28, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--gbo-ink);
  font: inherit;
  line-height: 1.3;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gbo-form textarea {
  resize: vertical;
  min-height: 120px;
}

.gbo-form input::placeholder,
.gbo-form textarea::placeholder {
  color: #8a9a93;
}

.gbo-form input:hover,
.gbo-form textarea:hover {
  border-color: rgba(15, 118, 110, 0.35);
}

.gbo-form input:focus,
.gbo-form textarea:focus {
  outline: none;
  border-color: var(--gbo-accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
  transform: translateY(-1px);
}

.gbo-form input:disabled,
.gbo-form input[readonly] {
  background: linear-gradient(180deg, #eef4f1 0%, #e7eee9 100%);
  color: #4d6158;
  cursor: not-allowed;
  border-style: dashed;
}

.gbo-id-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(20, 108, 69, 0.08));
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.gbo-id-badge strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--gbo-accent-2);
}

.gbo-id-badge small {
  color: var(--gbo-muted);
  font-size: 0.78rem;
}

.gbo-field-help {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gbo-muted);
}

.gbo-field-help--error {
  color: var(--gbo-error);
}

.gbo-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.25rem;
  flex-direction: column;
}

.gbo-submit {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e 0%, #146c45 100%) !important;
  color: #fff !important;
  font-family: "Sora", sans-serif !important;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.95rem 1.45rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.gbo-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.32);
}

.gbo-submit:active {
  transform: translateY(0);
}

.gbo-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.gbo-form__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gbo-muted);
}

@keyframes gbo-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .gbo-shell {
    padding: 1rem;
    border-radius: 18px;
  }

  .gbo-section {
    padding: 0.95rem;
  }
}
