.total-container {
  min-height: 850px;
  background-image: url("../images/capital-bg.svg");
  background-size: cover;
  background-position-y: 50%;
  background-position-x: 50%;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 6.25rem;
}

.middle-section {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
}

.left-title {
  color: var(--White, rgba(255, 255, 255, 1));
  font-family: OPPO Sans 4;
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
}

.left-desc {
  color: var(--White, rgba(255, 255, 255, 1));
  font-family: OPPO Sans 4;
  font-size: 30px;
  font-weight: 400;
  line-height: 35px;
  margin-top: 16px;
}

.form-wrap {
  width: 438px;
  height: 437px;
  padding: 40px 24px 40px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.1);
}

.form-title {
  color: var(--White, rgba(255, 255, 255, 1));
  font-family: OPPO Sans 4;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 32px;
  text-align: center;
}

.form-input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 10px;
  color: var(--White, rgba(255, 255, 255, 1));
  font-size: 16px;
}

.form-input::placeholder {
  color: var(--White, rgba(255, 255, 255, 1));
  font-family: OPPO Sans 4;
}

.form-input {
  transition: border-color 0.3s;
}

.form-input.error {
  border-color: #ff4d4f;
}

.error-message {
  position: absolute;
  bottom: 8px;
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}

.input-wrap {
  position: relative;
}

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

.code-img-wrap {
  width: 122px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
}

.code-img-wrap img {
  width: 100%;
  height: 100%;
}

.form-button {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: var(--unnamed, rgba(204, 0, 0, 1));
  color: var(--White, rgba(255, 255, 255, 1));
  font-family: OPPO Sans 4;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.form-button:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}

@media (max-width: 1100px) {
  .total-container {
    padding: 0 2rem;
  }
  .middle-section {
    flex-direction: column;
    align-items: center;
  }
  .left-caption {
    width: 60%;
    margin-bottom: 4rem;
  }
  .form-wrap {
    width: 60%;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  }

  .form-title {
    margin-bottom: 2rem;
    text-align: center;
  }

  .form-input {
    height: 4.125rem;
    margin-bottom: 30px;
    padding: 0.625rem;
    color: var(--White, rgba(255, 255, 255, 1));
  }
}

@media (max-width: 700px) {
  .form-wrap {
    width: 100%;
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  }
  .left-caption {
    width: 100%;
    margin-bottom: 4rem;
  }
}
