/* =====================================
   NOTEBOOK
===================================== */

@media (max-height: 900px) {
  .left {
    padding: 24px 18px;
  }

  .desktop-title {
    font-size: 2.2rem;
    margin-bottom: 22px;
  }

  .robot {
    width: 220px;
  }

  .login-link p {
    font-size: 16px;
  }

  .login-link a {
    font-size: 1.6rem;
  }

  .right {
    padding: 16px;
  }

  .form-box {
    width: 92%;
    max-width: 540px;
    padding: 16px;
    border-radius: 22px;
  }

  .subtitle {
    font-size: 1.6rem;
  }

  .form-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .social-btn {
    height: 40px;
    font-size: 13px;
  }

  .social-buttons {
    gap: 8px;
  }

  .divider {
    margin: 5px 0;
  }

  .campo {
    margin-bottom: 5px;
  }

  .campo label {
    margin-bottom: 2px;
    font-size: 12px;
  }

  .campo input {
    height: 38px;
    font-size: 13px;
  }

  .strength {
    height: 4px;
    margin-top: 4px;
  }

  #strengthText {
    margin: 2px 0 4px;
    font-size: 10px;
  }

  .termos {
    margin: 4px 0 6px;
    font-size: 12px;
  }

  .create-account {
    margin-top: 1.25rem;
    height: 40px;
    font-size: 14px;
  }

  small {
    margin: 0;
    font-size: 10px;
    min-height: 10px;
  }
}

@media (max-height: 768px) {
  .left {
    padding: 16px 18px;
  }

  .desktop-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .robot {
    width: 180px;
  }

  .login-link p {
    font-size: 14px;
  }

  .login-link a {
    font-size: 1.3rem;
  }

  .right {
    padding: 12px;
  }

  .form-box {
    max-width: 500px;
    padding: 12px;
    border-radius: 18px;
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .form-box h2 {
    font-size: 1.7rem;
    margin-bottom: 6px;
  }

  .social-btn {
    height: 36px;
    font-size: 12px;
  }

  .social-buttons {
    gap: 6px;
  }

  .divider {
    margin: 3px 0;
  }

  .campo {
    margin-bottom: 3px;
  }

  .campo label {
    margin-bottom: 1px;
    font-size: 11px;
  }

  .campo input {
    height: 34px;
    font-size: 12px;
  }

  .strength {
    height: 3px;
    margin-top: 3px;
  }

  #strengthText {
    margin: 1px 0 3px;
    font-size: 9px;
  }

  .termos {
    margin: 3px 0 4px;
    font-size: 11px;
  }

  .create-account {
    height: 34px;
    font-size: 13px;
  }

  small {
    margin: 0;
    font-size: 9px;
    min-height: 9px;
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
  body {
    background: #f8f5ef;
    overflow-x: hidden;
  }

  .mobile-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
    height: 230px;
    padding-top: 20px;
    background: radial-gradient(circle, #c8d98c, #58a74b);
    border-radius: 0 0 40px 40px;
  }

  .mobile-header-title {
    color: #fff;
    font-size: 2.7rem;
    margin-top: 35px;
    font-weight: 700;
  }

  .mobile-robot {
    position: absolute;
    bottom: -45px;
    width: 140px;
    background: #f8f5ef;
    border-radius: 50%;
    padding: 10px;
  }

  .left {
    display: none;
  }

  .login-link {
    display: none;
  }

  .login-link--mobile {
    display: block;
    max-width: none;
    margin-top: 18px;
  }

  .login-link--mobile p {
    font-size: 14px;
    margin-bottom: 4px;
    color: #555;
  }

  .login-link--mobile a {
    color: #2c7444;
    font-size: 1.3rem;
  }

  .right {
    width: 100%;
    padding: 50px 20px 60px;
  }

  .form-box {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    background: white;
    border-radius: 25px;
    padding: 25px;
    max-width: 500px;
    margin: 0 auto;
  }

  .form-box h2 {
    text-align: center;
    font-size: 2rem;
  }

  .subtitle {
    display: block;
    text-align: center;
    font-size: 2rem;
  }

  .social-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
  }

  .facebook,
  .google {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .facebook span,
  .google span {
    display: none;
  }

  .facebook img,
  .google img {
    position: static;
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .modal-content {
    width: 95%;
    max-height: 85vh;
    height: auto;
  }

  .modal-header {
    padding: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    padding: 18px;
  }

  .toast {
    left: 15px;

    right: 15px;

    top: 15px;

    min-width: auto;

    width: auto;
  }
}

/* =====================================
   CELULAR PEQUENO
===================================== */

@media (max-width: 480px) {
  .mobile-header-title {
    font-size: 2.2rem;
  }

  .mobile-robot {
    width: 120px;
  }

  .form-box {
    margin-top: 100px;
    padding: 20px;
  }
}

/* Guardas finais de proporção para ícones funcionais. */
.password-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
}

.password-toggle > img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
}

.toast > img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
}
