* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #0a0e27;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

#redirect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  cursor: pointer;
}

.register-container {
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex: 1;
  min-height: 100vh;
}

.register-form {
  flex: 1;
  padding: 0;
  overflow-y: auto;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.form-header {
  padding: 32px 56px;
  margin-bottom: 0;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  padding: 40px 48px 32px;
  text-align: center;
}

.form-group:first-of-type {
  margin-top: 0;
}

.register-form > .form-group,
.register-form > .checkbox-group,
.register-form > .btn-submit,
.register-form > .footer-text {
  padding-left: 48px;
  padding-right: 48px;
}

.register-form > .btn-submit {
  margin-bottom: 20px;
}

.register-form > .footer-text {
  margin-bottom: 40px;
}

/* Banner mobile - visível apenas em telas pequenas */
.banner-mobile {
  display: none;
  width: 100%;
  overflow: hidden;
  order: -1; /* Garante que fique no topo */
}

.banner-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner desktop - visível apenas em telas grandes */
.banner-desktop {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.banner-desktop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #1a1f3a;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  /* Mostra banner mobile no topo */
  .banner-mobile {
    display: block;
    order: -1;
  }

  /* Esconde banner desktop */
  .banner-desktop {
    display: none;
  }

  /* Esconde o título em mobile */
  .form-title {
    display: none;
  }

  .content-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .register-form {
    order: 1;
    max-width: 100%;
  }

  .form-header {
    padding: 24px 20px;
    order: 2;
  }

  .register-form > .form-group,
  .register-form > .checkbox-group,
  .register-form > .btn-submit,
  .register-form > .footer-text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #e0e0e0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus,
select:focus {
  outline: none;
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.15);
}

.input-group {
  display: flex;
  gap: 8px;
}

.input-group input {
  flex: 1;
}

.btn-verify {
  padding: 12px 20px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  color: #ffc107;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-verify:hover {
  background: rgba(255, 193, 7, 0.2);
}

.phone-input {
  display: flex;
  gap: 8px;
}

.country-code {
  width: 80px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
}

.phone-input input {
  flex: 1;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #ffc107;
}

.checkbox-group label {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.link {
  color: #ffc107;
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
  border: none;
  border-radius: 12px;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
}

.btn-submit:active {
  transform: translateY(0);
}

.footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
