.cb-account {
  --cb-orange: #f26a21;
  --cb-orange-hover: #d35d1e;
  --cb-navy: #181c25;
  --cb-text: #30343b;
  --cb-muted: #7b818b;
  --cb-border: #dfe2e6;
  font-family: inherit;
  color: var(--cb-text);
}

.cb-account * {
  box-sizing: border-box;
}
.cb-account-step[hidden] {
  display: none !important;
}

.cb-account-step {
  animation: cbAccountStepIn 0.24s ease both;
}

@keyframes cbAccountStepIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cb-account-step-title {
  margin: 0 0 12px;
  color: var(--cb-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.cb-account-email-display {
  margin: -4px 0 14px;
  color: var(--cb-muted);
  font-size: 13px;
}

.cb-account-form {
  margin: 0;
}

.cb-account-label {
  display: block;
  margin: 0 0 6px;
  color: var(--cb-text);
  font-size: 12px;
  font-weight: 600;
}

.cb-account-input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 14px;
  padding: 10px 13px;
  color: var(--cb-navy);
  background: #fff;
  border: 1px solid var(--cb-border);
  border-radius: 7px;
  font: inherit;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cb-account-input:focus {
  border-color: var(--cb-orange);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.12);
}

.cb-account-password-field {
  position: relative;
}

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

.cb-account-password-toggle {
  position: absolute;
  top: 0;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 48px;
  padding: 0;
  color: #60656d;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.cb-account-password-toggle:hover {
  color: #30343b;
}

.cb-account-password-toggle:focus-visible {
  color: #30343b;
  outline: 2px solid var(--cb-orange);
  outline-offset: -4px;
}

.cb-account-eye {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.cb-account-eye--hide,
.cb-account-password-toggle[aria-pressed="true"] .cb-account-eye--show {
  display: none;
}

.cb-account-password-toggle[aria-pressed="true"] .cb-account-eye--hide {
  display: block;
}

.cb-account-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.cb-account-inline .cb-account-input {
  margin-bottom: 0;
}

.cb-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cb-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.cb-account-btn--primary {
  color: #fff;
  background: var(--cb-orange);
  border-color: var(--cb-orange);
}

.cb-account-btn--primary:hover,
.cb-account-btn--primary:focus {
  color: #fff;
  background: var(--cb-orange-hover);
  border-color: var(--cb-orange-hover);
}

.cb-account-btn--ghost {
  color: var(--cb-orange);
  background: transparent;
  border-color: transparent;
}

.cb-account-btn:disabled,
.cb-account-form.is-busy .cb-account-btn {
  cursor: wait;
  opacity: 0.65;
}

.cb-account-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.cb-account-actions .cb-account-btn--primary {
  min-width: 170px;
}

.cb-account-actions--end {
  justify-content: flex-end;
}

.cb-account-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  color: #59606a;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.cb-account-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--cb-orange);
}

.cb-account a {
  color: var(--cb-orange);
}

.cb-account-helper {
  margin: 8px 0 0;
  color: var(--cb-muted);
  font-size: 11px;
  line-height: 1.4;
}

.cb-account-otp-input {
  max-width: 220px;
  font-size: 20px;
  letter-spacing: 4px;
  text-align: center;
}

.cb-account-otp-resend {
  padding: 0;
  color: var(--cb-orange);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.cb-account-otp-resend:disabled {
  color: var(--cb-muted);
  cursor: wait;
}

.cb-account-email-verified {
  margin: 0 0 12px;
  color: #1f6743;
  font-size: 13px;
  font-weight: 600;
}

.cb-account-social-connected {
  margin: 0 0 14px;
  color: #59606a;
  font-size: 12px;
  font-weight: 600;
}

.cb-account-status {
  display: none;
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.4;
}

.cb-account-status:not(:empty) {
  display: block;
}
.cb-account-status.is-info {
  color: #4c5968;
  background: #f4f6f8;
}
.cb-account-status.is-error {
  color: #8b2b20;
  background: #fff0ed;
}
.cb-account-status.is-success {
  color: #1f6743;
  background: #edf8f2;
}

.cb-account-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cb-account--logged .cb-account-btn {
  margin-top: 12px;
}

.cb-account-my-account-button,
.cb-account-my-account-button:hover,
.cb-account-my-account-button:focus,
.cb-account-my-account-button:active,
.cb-account-my-account-button:visited {
  color: #ffffff !important;
}

.cb-account-my-account-button span,
.cb-account-my-account-button i {
  color: inherit !important;
}

@media (max-width: 575px) {
  .cb-account-inline,
  .cb-account-grid {
    grid-template-columns: 1fr;
  }
  .cb-account-inline .cb-account-input {
    margin-bottom: 10px;
  }
  .cb-account-inline .cb-account-btn,
  .cb-account-actions .cb-account-btn {
    width: 100%;
  }
  .cb-account-actions {
    flex-direction: column-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-account-step {
    animation: none;
  }
  .cb-account-input,
  .cb-account-btn {
    transition: none;
  }
}

/* ==========================================================
   CRIATIVABOX ACCOUNT - LOGIN SOCIAL
   ========================================================== */
.cb-account-social {
  margin-top: 20px;
}

.cb-account-social-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--cb-muted);
  font-size: 12px;
  text-align: center;
}

.cb-account-social-separator:before,
.cb-account-social-separator:after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--cb-border);
}

.cb-account-social-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 16px;
}

.cb-account-social-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}

.cb-account-message--info {
  padding: 10px 12px;
  color: #4c5968;
  background: #f4f6f8;
  border-radius: 7px;
}

/* ==========================================================
   PORTO - TEXTO "MINHA CONTA" SEMPRE BRANCO
   Mantém o dropdown livre para usar as cores configuradas no Porto.
   ========================================================== */
#header .elementor-widget-porto_hb_myaccount > .elementor-widget-container > a,
#header
  .elementor-widget-porto_hb_myaccount
  > .elementor-widget-container
  > a
  *,
#header .elementor-widget-porto_hb_my_account > .elementor-widget-container > a,
#header
  .elementor-widget-porto_hb_my_account
  > .elementor-widget-container
  > a
  *,
#header .porto-hb-myaccount > a,
#header .porto-hb-myaccount > a *,
#header [class*="porto-hb-myaccount"] > a,
#header [class*="porto-hb-myaccount"] > a *,
#header .my-account > a,
#header .my-account > a *,
#header .account-dropdown > a,
#header .account-dropdown > a *,
#header .porto-link-login,
#header .porto-link-login *,
.header-wrapper .porto-hb-myaccount > a,
.header-wrapper .porto-hb-myaccount > a *,
.header-wrapper .my-account > a,
.header-wrapper .my-account > a * {
  color: #ffffff !important;
}

@media (max-width: 575px) {
  .cb-account-social-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cb-account-social-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}
