/* =========================
   PAGE: CADASTRO
========================= */

body {
  font-family: "Inter", Arial, sans-serif;
  background: linear-gradient(135deg, #f8f8f5, #D7F2BA);
  min-height: 100vh;

  overflow-x: hidden;
  overflow-y: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  line-height: 1.6;
  color: #2b2b2b;
}

.page-cadastro {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 10px 40px;
}

.page-cadastro-image {
  display: flex;
  align-items: center;
}

.left-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cadastro-image img {
  width: 100%;
  max-width: 360px;
  display: block;
}

.quote {
  margin-top: -5px;
  text-align: center;
}

.quote p {
  font-family: 'Belleza', sans-serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.4;
  color: #676F54;
}

.quote span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 1px;
  color: #8A8A8A;
}

.cadastro-container {
  width: 100%;
  max-width: 390px;
}

.cadastro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.cadastro-logo h1 {
  font-family: "Belleza", sans-serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 6px;
  color: #79B4A9;
  margin: 0;
  line-height: 1;
}

.cadastro-logo .logo-line {
  width: 140px;
  height: 4px;
  background: #D4AF37;
  border-radius: 999px;
  margin-top: 10px;
}

.cadastro-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    padding: 22px 25px;

    border: 1px solid rgba(103, 111, 84, 0.15);

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cadastro-header {
  text-align: center;
  margin-bottom: 24px;
}

.cadastro-header h2 {
  font-family: "Belleza", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #676F54;
  margin-bottom: 10px;
}

.cadastro-header p {
  color: #4f5f57;
  font-size: 0.95rem;
}

.signup-link {
  text-align: center;
}

.signup-link p {
  color: #4f5f57;
  font-size: 0.875rem;
}

.signup-link a {
  color: #676F54;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.signup-link a:hover {
  color: #79B4A9;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  height: 64px;
  padding: 24px 56px 10px 22px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: #f7f7f4;
  color: #24312f;
  font-size: 16px;
  outline: none;
  transition: 0.2s ease;
}

.input-wrapper label {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #65716f;
  font-size: 16px;
  pointer-events: none;
  transition: 0.2s ease;
}

.input-wrapper input:focus,
.input-wrapper input:valid {
  border-color: #b7d7c8;
  background: #ffffff;
}

.input-wrapper input:focus + label,
.input-wrapper input:valid + label {
  top: 15px;
  font-size: 13px;
  font-weight: 700;
  color: #79b4a9;
}

.password-wrapper input {
  padding-right: 58px;
}

.password-toggle {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-icon {
  width: 18px;
  height: 18px;
  display: block;
  background-image: url("../../assets/icons/eye.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.75;
}

.password-toggle.active .eye-icon {
  background-image: url("../../assets/icons/eye-off.svg");
}

.password-toggle:hover .eye-icon {
  opacity: 1;
}

.sucess-login-btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 22px;
  background: #79B4A9;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

/* =========================
   RESPONSIVO - CADASTRO
========================= */

@media (max-width: 900px) {
  body {
    display: block;
    padding: 0;
  }

  .back-button {
    position: relative;
    top: auto;
    left: auto;

    display: inline-flex;

    margin: 18px 0 0 18px;
    font-size: 16px;
  }

  .page-cadastro {
    min-height: auto;

    flex-direction: column;
    gap: 20px;

    padding: 20px 16px 40px;
  }

  .left-side {
    order: 1;
    width: 100%;
  }

  .cadastro-container {
    order: 2;

    width: 100%;
    max-width: 430px;
  }

  .page-cadastro-image img {
    max-width: 240px;
    margin: 0 auto;
  }

  .quote {
    margin-top: 8px;
    padding: 0 12px;
  }

  .quote p {
    font-size: 17px;
  }

  .quote span {
    font-size: 12px;
  }

  .cadastro-card {
    width: 100%;

    padding: 26px 20px;
    border-radius: 24px;
  }

  .cadastro-logo {
    margin-bottom: 20px;
  }

  .cadastro-logo h1 {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .cadastro-logo .logo-line {
    width: 110px;
    height: 3px;
  }

  .cadastro-header {
    margin-bottom: 22px;
  }

  .cadastro-header h2 {
    font-size: 1.7rem;
  }

  .cadastro-header p {
    font-size: 0.9rem;
  }

  .input-wrapper input {
    height: 58px;
    padding: 22px 52px 8px 18px;

    font-size: 16px;
    border-radius: 18px;
  }

  .input-wrapper label {
    left: 18px;
    font-size: 15px;
  }

  .input-wrapper input:focus + label,
  .input-wrapper input:valid + label {
    top: 14px;
    font-size: 12px;
  }

  .password-toggle {
    right: 18px;
  }

  .cadastro-btn {
    min-height: 48px;
    padding: 14px 18px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .page-cadastro {
    padding: 16px 12px 32px;
  }

  .page-cadastro-image img {
    max-width: 190px;
  }

  .cadastro-card {
    padding: 22px 16px;
  }

  .cadastro-logo h1 {
    font-size: 36px;
  }

  .cadastro-header h2 {
    font-size: 1.45rem;
  }

  .quote p {
    font-size: 15px;
  }
}