/* ===== PINTEREST STYLE REGISTER ===== */

body.login-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: #ffffff;
  color: #333333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== MAIN CONTAINER ===== */
.login-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
  position: relative;
}

/* ===== PINTEREST MODAL ===== */
.pinterest-modal {
  background-color: rgb(255, 255, 255);
  border-radius: 32px;
  position: relative;
  text-align: center;
  margin: auto;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 2px 10px;
  width: 484px !important;
  max-width: 100%;
  overflow: visible;
  border: 1px solid #eee !important;
  box-sizing: border-box !important;
}

/* Modais dentro do overlay não devem aparecer por padrão */
.modal-overlay .pinterest-modal {
  display: none !important;
}

.modal-content {
  padding: 12px 10px 0;
  position: relative;
  overflow: visible;
}

/* ===== CLOSE BUTTON ===== */
.close-button-wrapper {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 40px;
  width: 40px;
  z-index: 10;
}

.close-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.close-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.close-icon {
  color: #333;
  width: 16px;
  height: 16px;
}

/* ===== LOGO ===== */
.logo-wrapper {
  margin: 0px auto 4px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== TITLE ===== */
.title-wrapper {
  margin: 0px auto 8px;
  width: 400px;
  max-width: 90%;
}

.modal-title {
  color: rgb(51, 51, 51);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  padding: 0px 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
  margin: 0;
  line-height: 1.2;
}

/* ===== SUBTITLE ===== */
.subtitle-wrapper {
  margin: 0px auto 12px;
  width: 270px;
  max-width: 90%;
}

.modal-subtitle {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

/* ===== MENSAGENS ===== */
.error-message {
  background: #fee;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 auto 16px;
  max-width: 268px;
  font-size: 14px;
  display: none;
}

.success-message {
  background: #efe;
  color: #3c3;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 auto 16px;
  max-width: 268px;
  font-size: 14px;
  display: none;
}

/* ===== FORM WRAPPER ===== */
.form-wrapper {
  margin: 0px auto;
  width: 268px;
  max-width: 90%;
  text-align: center;
}

/* ===== FORM FIELDS ===== */
.form-field {
  margin-bottom: 10px;
  text-align: left;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.birthdate-label-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.info-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}

.info-icon {
  width: 16px;
  height: 16px;
  color: #999;
  cursor: help;
  transition: color 0.2s;
  fill: currentColor;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.info-icon-wrapper:hover .info-icon {
  color: #999;
}

.info-tooltip {
  position: fixed;
  width: 240px;
  max-width: calc(100vw - 40px);
  background-color: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  transform: translateY(-50%);
}

.info-icon-wrapper:hover .info-tooltip {
  opacity: 1;
  visibility: visible;
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-size: 16px;
  background: #fff;
  color: #333;
  transition: all 0.2s;
  box-sizing: border-box;
}

.password-input {
  padding-right: 48px;
}

.form-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* ===== PASSWORD WRAPPER ===== */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  width: 24px;
  height: 24px;
  z-index: 10;
  margin: 0;
}

.password-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.eye-icon {
  width: 20px;
  height: 20px;
  color: #666;
  fill: currentColor;
  stroke: currentColor;
  display: block;
  top: -11px; /* sobe mais um pouco */
}

/* ===== PASSWORD STRENGTH INDICATOR ===== */
.password-strength-indicator {
  margin-top: 6px;
}

.password-strength-bar {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.password-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-fill.weak {
  width: 20%;
  background-color: #d32f2f;
}

.password-strength-fill.fair {
  width: 40%;
  background-color: #f57c00;
}

.password-strength-fill.good {
  width: 60%;
  background-color: #1976d2;
}

.password-strength-fill.strong {
  width: 80%;
  background-color: #388e3c;
}

.password-strength-fill.perfect {
  width: 100%;
  background-color: #2e7d32;
}

.password-strength-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.password-strength-status {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.password-strength-hint {
  font-size: 11px;
  color: #666;
  line-height: 1.2;
}

/* ===== SUBMIT BUTTON ===== */
.submit-wrapper {
  margin-bottom: 8px;
  margin-top: 12px;
}

.submit-button {
  width: 100%;
  padding: 12px 24px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-button:hover {
  background: #e55a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

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

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.button-text {
  display: block;
}

/* ===== DIVIDER ===== */
.divider-text {
  margin: 4px 0;
  overflow: hidden;
  text-align: center;
  font-size: 14px;
  color: rgb(51, 51, 51);
  font-weight: bold;
}

/* ===== SOCIAL LOGIN OPTIONS ===== */
.social-login-options {
  margin-top: 4px;
}

.social-button-wrapper {
  margin-bottom: 8px;
  height: 44px;
}

.social-button {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  background: white;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.social-button:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

.google-button {
  border-color: #dadce0;
}

/* ===== TERMS ===== */
.terms-wrapper {
  margin-top: 12px;
  padding: 0 16px;
}

.terms-text {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}

.terms-link {
  color: #ff6b35;
  text-decoration: none;
}

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

/* ===== FOOTER LINKS ===== */
.footer-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-link-row {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-link-row:last-child {
  margin-bottom: 0;
}

.footer-text {
  color: #333;
  font-weight: 500;
}

.footer-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  margin-left: 4px;
}

.footer-link:hover {
  color: #ff6b35;
  text-decoration: underline;
}

/* ===== BUSINESS BUTTON ===== */
.business-button-wrapper {
  border-radius: 0px 0px 32px 32px;
  height: 62px;
  width: calc(100% + 20px);
  margin: 0 -10px -16px -10px;
  background-color: transparent;
  overflow: hidden;
  position: relative;
}

.business-button {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid #eee !important;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 0px 0px 32px 32px;
  margin: 0;
}

.business-button:hover {
  background-color: rgba(220, 124, 53, 0.1);
}

.business-button:active {
  background-color: rgba(220, 124, 53, 0.2);
}

.business-button-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.business-button:hover .business-button-text {
  color: #dc7c35;
}

/* ===== VERIFICATION MODAL ===== */
.modal-verification .modal-content {
  padding: 12px 10px 16px;
}

.modal-verification .subtitle-wrapper {
  margin: 0px auto 16px;
  width: 350px;
  max-width: 90%;
}

.modal-verification .modal-subtitle {
  color: #666;
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

.modal-verification .modal-subtitle span {
  font-weight: 600;
  color: #333;
}

.resend-code-wrapper {
  margin-top: 16px;
  text-align: center;
}

.resend-text {
  color: #666;
  font-size: 14px;
  margin: 0 0 8px 0;
}

.resend-button {
  background: none;
  border: none;
  color: #ff6b35;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s;
}

.resend-button:hover {
  color: #dc7c35;
}

.resend-button:disabled {
  color: #999;
  cursor: not-allowed;
  text-decoration: none;
}

.modal-verification .error-message,
.modal-verification .success-message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: left;
  display: none;
}

.modal-verification .error-message {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.modal-verification .success-message {
  background-color: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

/* ===== VERIFICATION BOX ===== */
.verify-box {
  display: none;
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 24px;
  margin-top: 20px;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 2px 10px;
  max-width: 484px;
  margin-left: auto;
  margin-right: auto;
}

.verify-box h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}

.verify-box p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.code-digit {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 12px;
  background: #fff;
  color: #333;
}

.code-digit:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.verify-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: #ff6b35;
  color: white;
}

.btn-primary:hover {
  background: #e55a2b;
}

.btn-ghost {
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
}

.btn-ghost:hover {
  background: #f5f5f5;
}

.btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 600px) {
  .pinterest-modal {
    width: 100%;
    border-radius: 24px;
    margin: 20px;
  }

  .modal-content {
    padding: 20px 16px;
  }

  .title-wrapper {
    width: 100%;
  }

  .modal-title {
    font-size: 28px;
  }

  .form-wrapper {
    width: 100%;
  }

  .code-digit {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ===== NOTIFICAÇÕES ===== */
.notification-container {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 99999 !important;
  pointer-events: none;
}

.notification {
  background: white !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  min-width: 280px !important;
  max-width: 320px !important;
  pointer-events: auto !important;
  transform: translateX(120%) scale(0.9) !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  border-radius: 12px 12px 0 0;
}

.notification.show {
  transform: translateX(0) scale(1) !important;
  opacity: 1 !important;
}

.notification.error {
  border-left: 4px solid #ef4444 !important;
}

.notification.error::before {
  background: linear-gradient(90deg, #ef4444, #dc2626) !important;
}

.notification.success {
  border-left: none !important;
  border: none !important;
}

.notification.success::before {
  display: none !important;
}

.notification.warning {
  border-left: 4px solid #f59e0b !important;
}

.notification.warning::before {
  background: linear-gradient(90deg, #f59e0b, #d97706) !important;
}

.notification.info {
  border-left: 4px solid #3b82f6 !important;
}

.notification.info::before {
  background: linear-gradient(90deg, #3b82f6, #2563eb) !important;
}

.notification-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
  position: relative !important;
  z-index: 2 !important;
}

.notification-title {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #111827 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  letter-spacing: -0.01em !important;
}

.notification-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

.notification-close {
  background: rgba(0, 0, 0, 0.05) !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  border-radius: 6px !important;
  color: #6b7280 !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #374151 !important;
  transform: scale(1.05) !important;
}

.notification-message {
  font-size: 13px !important;
  color: #4b5563 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  position: relative !important;
  z-index: 2 !important;
}

.notification-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #ff6b35, #f7931e) !important;
  border-radius: 0 0 12px 12px !important;
  transition: width 0.3s ease-out !important;
}
