.adl-register {
  --adl-primary: #F98715;
  --adl-white: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--adl-white);
}

.adl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s;
}

.adl-btn-primary {
  background: var(--adl-primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}

.adl-btn-primary:hover {
  color: #fff;
  background: #ffa12f;
  box-shadow: 0 0 16px rgba(249, 135, 21, .45);
  transform: translateY(-1px);
}

.adl-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}

.adl-btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}

.adl-register {
  padding: 86px 0;
  background: linear-gradient(180deg, #090909, #050505);
}

.adl-register-top {
  padding: 18px 0 74px;
  background: transparent;
}

.adl-register-top .adl-register-box {
  max-width: 900px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .42);
}

.adl-register-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid rgba(249, 135, 21, .46);
  background: radial-gradient(circle at 50% 0, rgba(249, 135, 21, .24), rgba(0, 0, 0, .28) 52%);
  backdrop-filter: blur(3px);
}

.adl-register-box h2 {
  font-size: 56px;
  line-height: 64px;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 700;
}

.adl-register-box p {
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  margin: 0 0 28px;
  opacity: .95;
  font-weight: 400;
}

.adl-register-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 20px 18px 16px;
}

.adl-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.adl-field label {
  display: block;
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
}

.adl-field input,
.adl-country-wrap select {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 0 14px;
  font-size: 16px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.adl-field input:focus,
.adl-country-wrap select:focus {
  outline: none;
  border-color: rgba(249, 135, 21, .7);
  box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}

.adl-register-form .invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 6px;
  font-size: 11px;
  line-height: 16px;
  color: #ff4d4f !important;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.adl-register-form input.is-invalid ~ .invalid-feedback,
.adl-register-form .adl-check.is-error + .invalid-feedback {
  display: inline-block !important;
}

.adl-register-form input.is-invalid {
  border-color: var(--adl-primary);
}

.adl-phone-wrapper.is-error {
  border-color: var(--adl-primary);
}

.adl-check.is-error {
  color: #ff4d4f;
}

.adl-phone-row {
  display: block;
}

.adl-phone-wrapper {
  display: flex;
  align-items: center;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 2px 10px;
  position: relative;
  height: 54px;
}

.adl-phone-wrapper:focus-within {
  border-color: #F98715;
  box-shadow: 0 0 0 3px rgba(249, 135, 21, .16);
}

.adl-country-select {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  min-width: 92px;
  padding: 0;
  cursor: pointer;
}

.adl-country-flag {
  font-size: 18px;
  line-height: 1;
}

.adl-country-code {
  font-size: 14px;
}

.adl-country-arrow {
  font-size: 12px;
  opacity: .7;
}

.adl-phone-input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: 1;
  height: 44px !important;
  padding: 8px 10px !important;
}

.adl-country-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 56px;
  width: 100%;
  background: #1B1B1B;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 8px;
  z-index: 30;
  max-height: 260px;
  overflow: hidden;
}

.adl-country-menu.open {
  display: block;
}

.adl-country-search {
  width: 100%;
  height: 36px;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  background: #3a3a3a;
  color: #fff;
  padding: 0 10px;
  font-size: 14px;
  margin-bottom: 8px;
}

.adl-country-list {
  max-height: 190px;
  overflow: auto;
}

.adl-country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.adl-country-item:hover {
  background: #2a2a2a;
}

.adl-pass-wrap {
  position: relative;
}

.adl-pass-wrap input {
  padding-right: 50px;
}

.adl-eye-toggle {
  position: absolute;
  right: 14px;
  top: 9px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: rgba(249, 249, 249, .55);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease;
}

.adl-eye-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.adl-eye-toggle:hover {
  color: rgba(249, 249, 249, .85);
}

.adl-eye-toggle.is-visible {
  color: var(--adl-primary);
}

.adl-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adl-code-row .invalid-feedback {
  flex: 1 0 100%;
}

.adl-code-row input {
  flex: 1;
}

.adl-code-row button {
  white-space: nowrap;
  font-size: 14px;
  height: 50px;
  padding: 0 18px;
}

.adl-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  margin: 10px 0 0;
}

.adl-check input {
  margin-top: 4px;
}

.adl-check a {
  color: var(--adl-primary);
  text-decoration: none;
}

.adl-check a:hover {
  text-decoration: underline;
}

.adl-register-error {
  display: none;
  background: rgba(255, 92, 92, .12);
  border: 1px solid rgba(255, 92, 92, .35);
  border-radius: 10px;
  padding: 10px 12px;
  color: #ff4d4f;
  font-size: 13px;
  line-height: 20px;
  margin: 8px 0 12px;
}

.adl-register-error.show {
  display: block;
}

.adl-submit {
  width: 300px !important;
  max-width: 100% !important;
  height: auto !important;
  background: var(--adl-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  margin: 15px auto 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.adl-login-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px !important;
  line-height: 22.4px !important;
  color: rgba(249, 249, 249, .75) !important;
  font-weight: 400 !important;
}

.adl-login-hint a {
  color: var(--adl-primary);
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none;
  margin-left: 4px;
}

.adl-login-hint a:hover {
  text-decoration: underline;
}

.adl-register-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.adl-register-actions .adl-btn {
  width: 300px;
  max-width: 100%;
  justify-content: center;
}

.adl-disclaimer {
  margin-top: 14px !important;
  font-size: 12px !important;
  line-height: 20px !important;
  opacity: .82;
}

@media (max-width: 768px) {
  .adl-register-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .adl-register-box p {
    font-size: 16px;
    line-height: 24px;
  }

  .adl-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adl-phone-row {
    grid-template-columns: 1fr;
  }

  .adl-code-row {
    flex-direction: column;
  }

  .adl-register-top {
    padding-top: 20px;
  }

  .adl-register-top .adl-register-box {
    padding: 24px 16px;
  }

  .adl-register-form {
    padding: 14px 12px;
  }

  .adl-code-row input {
    flex: unset;
  }
}
