@font-face {
  font-family: "MB Corpo A Title Cond";
  src: url("../fonts/MBCorpoATitleCond-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MB Corpo S Text";
  src: url("../fonts/MBCorpoSText-CondRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MB Corpo S Text";
  src: url("../fonts/MBCorpoSText-CondLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.register-section {
  position: relative;
  background: #000;
  padding: 80px 24px 120px;
  overflow: hidden;
}

.register-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background-image: url("../images/pattern-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  pointer-events: none;
  opacity: 0.6;
}

.register-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 300px;
  background-image: url("../images/pattern-bottom.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  pointer-events: none;
  opacity: 0.4;
  display: none;
}

.register-section .pattern-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  background-image: url("../images/pattern-left.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  pointer-events: none;
  opacity: 0.6;
}

.register-form-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.register-form-title {
  font-family: "MB Corpo A Title Cond", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 45px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
  margin: 0 0 40px;
}

.register-form-container {
  width: 100%;
}

.register-form-group {
  margin-bottom: 20px;
  position: relative;
}

.register-form-input,
.register-form-select {
  width: 100%;
  height: 56px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  box-sizing: border-box;
}

.register-form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 300;
  font-size: 18px;
}

.register-form-input:focus,
.register-form-select:focus {
  border-color: #ffffff;
  outline: none;
}

.register-mobile-group {
  display: flex;
  gap: 0;
  border: 1px solid #ffffff;
}

.register-country-code-wrapper {
  flex: 0 0 120px;
}

.register-mobile-input-wrapper {
  flex: 1;
}

.register-form-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
  border: none;
}

.register-mobile-group .register-form-input {
  border: none;
}

.register-form-select option {
  background: #000000;
  color: #ffffff;
}

.register-radio-group-label {
  display: block;
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
  margin: 16px 0;
  text-align: left;
}

.register-radio-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-radio-option {
  position: relative;
  cursor: pointer;
  padding: 18px 20px;
  border: 1px solid #666666;
  background: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.register-radio-option:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.register-radio-option.register-radio-selected {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.register-radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.register-radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.register-radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.register-radio-input:checked+.register-radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}

.register-radio-label-text {
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
}

.register-company-field {
  display: none;
  margin-top: 20px;
}

.register-company-field.register-show {
  display: block;
}

.register-terms-text {
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 30px 0 25px;
  line-height: 1.6;
  text-align: left;
}

.register-terms-text a {
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.register-submit-btn {
  width: 100%;
  height: 56px;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "MB Corpo S Text", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.register-submit-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.register-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.register-error-message {
  color: #ff5722;
  font-size: 12px;
  margin-top: 6px;
  display: block;
  text-align: left;
  font-family: "MB Corpo S Text", sans-serif;
  letter-spacing: 0.5px;
}

.register-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.register-popup-content {
  background-color: rgb(0 0 0 / 90%);
  padding: 50px 40px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  min-width: 320px;
  max-width: 90%;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.register-popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.register-popup-content p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: "MB Corpo S Text", sans-serif;
}

.register-popup-btn {
  display: inline-block;
  padding: 15px 60px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: "MB Corpo S Text", sans-serif;
}

.register-terms-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  overflow-y: auto;
}

.register-terms-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 40px 40px;
  position: relative;
  color: #fff;
}

.register-terms-close {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #353535;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: all 0.3s ease;
}

.register-terms-close:hover {
  background: #fff;
  color: #000;
}

.register-terms-result {
  color: #fff;
  font-family: "AktivGrotesk", sans-serif;
  max-width: 1100px;
  margin: 0 auto;
}

.register-terms-result .terms-heading {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 400;
  font-size: 42px;
  text-align: center;
  margin: 40px 0;
  letter-spacing: 2px;
}

.register-terms-result .agreement-heading {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #fff;
  display: block;
  margin: 30px 0 10px 0;
}

.register-terms-result .agreement-content {
  font-family: "AktivGrotesk", sans-serif;
  font-weight: 100;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.register-terms-result .agreement-content strong {
  font-weight: 300;
  color: #fff;
  margin-bottom: -40px;
}

.register-form-input[type="number"]::-webkit-inner-spin-button,
.register-form-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.register-form-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

@media (max-width: 768px) {
  .register-section {
    padding: 60px 20px 100px;
  }

  .register-section::before,
  .register-section .pattern-left {
    display: none;
  }

  .register-section::after {
    height: 200px;
  }

  .register-form-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .register-form-wrapper {
    padding: 0 15px;
  }

  .register-mobile-group {
    flex-direction: row;
  }

  .register-country-code-wrapper {
    flex: 0 0 100px;
  }

  .register-terms-content {
    padding: 60px 20px 40px 20px;
  }

  .register-terms-close {
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .register-section::after {
    display: block;
  }
  
}

@media (max-width: 480px) {
  .register-form-title {
    font-size: 28px;
  }

  .register-form-input,
  .register-form-select,
  .register-submit-btn {
    height: 50px;
  }

  .register-popup-btn {
    padding: 12px 10px;
    font-size: 12px;
  }
}