/* Coincheck estático — base + login + code + confirm + download dialog */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: #eef1f6;
  color: #1f263e;
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Yu Gothic",
    Meiryo,
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* ---------- Página (espelha CoichckLoginPage.vue) ---------- */
.cc-login-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #eef1f6;
  color: #0e1726;
  font-size: 14px;
}

.cc-login-page__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  padding: 30px 24px 80px;
}

.cc-login-page__column {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.cc-login-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: #27b67a;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.cc-login-page__back:hover {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-login-page__support {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #27b67a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(39, 182, 122, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cc-login-page__support:hover {
  background: #1fa56c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(39, 182, 122, 0.4);
}

.cc-login-page__support svg {
  width: 22px;
  height: 22px;
}

.cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .cc-login-page__content {
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    padding: 24px 12px 80px;
  }
}

@media (max-width: 360px) {
  .cc-login-page__content {
    padding: 16px 8px 80px;
  }
}

@media (max-width: 820px) {
  .cc-login-page__support {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 18px rgba(39, 182, 122, 0.32);
  }
}

@media (max-width: 360px) {
  .cc-login-page__support {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }

  .cc-login-page__support svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Navbar (CoichckLoginNavbar) ---------- */
.cc-login-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e1e5ec;
  box-shadow: 0 2px 6px rgba(14, 23, 38, 0.06);
}

.cc-login-navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1148px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
}

.cc-login-navbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cc-login-navbar__logo {
  display: block;
  height: 35px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.cc-login-navbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cc-login-navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f263e;
  font-size: 13px;
  font-weight: 400;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.cc-login-navbar__chevron {
  display: inline-block;
  color: #30333b;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.cc-login-navbar__chevron--open {
  transform: rotate(180deg);
}

.cc-login-navbar__separator {
  width: 1px;
  height: 14px;
  background: #d4d9e1;
}

.cc-login-navbar__create-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: #0eba85;
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.cc-login-navbar__create-account:hover {
  background: #1fa56c;
}

.cc-login-navbar__lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cc-login-navbar__lang-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 160px;
  padding: 4px 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(14, 23, 38, 0.14);
}

.cc-login-navbar__lang-option {
  display: block;
  padding: 10px 18px;
  color: #1f263e;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.cc-login-navbar__lang-option:hover {
  background: #f5f7fa;
}

.cc-login-navbar__lang-option--active {
  color: #27b67a;
  font-weight: 500;
}

@media (max-width: 820px) {
  .cc-login-navbar__inner {
    height: 56px;
    padding: 0 14px;
  }

  .cc-login-navbar__logo {
    height: 24px;
  }

  .cc-login-navbar__actions {
    gap: 12px;
  }
}

@media (max-width: 540px) {
  .cc-login-navbar__actions > .cc-login-navbar__link:not(.cc-login-navbar__link--button),
  .cc-login-navbar__separator {
    display: none;
  }

  .cc-login-navbar__create-account {
    height: 32px;
    font-size: 11.5px;
    padding: 0 9px;
  }

  .cc-login-navbar__lang-popup {
    min-width: 140px;
    right: 0;
  }
}

@media (max-width: 360px) {
  .cc-login-navbar__inner {
    padding: 0 10px;
  }

  .cc-login-navbar__logo {
    height: 22px;
  }

  .cc-login-navbar__actions {
    gap: 8px;
  }

  .cc-login-navbar__create-account {
    height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .cc-login-navbar__link {
    font-size: 12px;
  }

  .cc-login-navbar__lang-option {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* CoichckBaseCard */
.cc-base-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(14, 23, 38, 0.08);
  overflow: hidden;
  transition: box-shadow 0.18s ease, opacity 0.18s ease;
}

.cc-base-card--loading {
  opacity: 0.85;
}

.cc-base-card__form-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 22px;
}

@media (max-width: 540px) {
  .cc-base-card {
    box-shadow: 0 1px 2px rgba(14, 23, 38, 0.06);
  }

  .cc-base-card__form-pane {
    padding: 22px 20px 18px;
  }
}

@media (max-width: 360px) {
  .cc-base-card__form-pane {
    padding: 18px 14px 16px;
  }
}

.cc-login-page__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Login */
.cc-login-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 18px;
}

.cc-login-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #1f263e;
  letter-spacing: 0.01em;
  text-align: center;
}

.cc-login-card__title-brand {
  font-weight: 600;
}

.cc-login-card__form {
  display: flex;
  flex-direction: column;
}

.cc-login-card__form--locked {
  pointer-events: none;
  opacity: 0.85;
}

.cc-login-card__field-group {
  margin-bottom: 12px;
}

.cc-login-card__field-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #1f263e;
  margin-bottom: 4px;
}

.cc-login-card__field {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-login-card__field:focus-within {
  border-color: #27b67a;
  box-shadow: 0 0 0 2px rgba(39, 182, 122, 0.16);
}

.cc-login-card__field--error {
  border-color: #e03a3a;
  box-shadow: 0 0 0 2px rgba(224, 58, 58, 0.12);
}

.cc-login-card__field input {
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  line-height: 22px;
  color: #1f263e;
  font-family: inherit;
}

.cc-login-card__field input::placeholder {
  color: #b5bac4;
}

/* Não mostrar o botão "mostrar senha" do sistema — só o nosso toggle. */
#input-login-password::-ms-reveal,
#input-login-password::-ms-clear,
#input-login-password[type="password"]::-ms-reveal,
#input-login-password[type="password"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
  pointer-events: none;
}

#input-login-password::-webkit-credentials-auto-fill-button,
#input-login-password::-webkit-contacts-auto-fill-button,
#input-login-password::-webkit-strong-password-auto-fill-button {
  display: none !important;
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

#input-login-password,
#input-login-password[type="password"] {
  appearance: none;
}

#btn-password-toggle {
  position: relative;
  flex-shrink: 0;
}

#btn-password-toggle .js-eye-off[hidden],
#btn-password-toggle .js-eye-on[hidden] {
  display: none !important;
}

.cc-login-card__field-eye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  margin: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #16ca94;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.15s ease;
}

.cc-login-card__field-eye:hover {
  background: #f1faf5;
}

.cc-login-card__field-error {
  margin: 4px 2px 0;
  font-size: 12px;
  color: #e03a3a;
  line-height: 1.4;
}

.cc-login-card__help-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 6px 0 16px;
}

.cc-login-card__link {
  color: #16ca94;
  font-size: 11px;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.15s ease;
}

.cc-login-card__link:hover {
  color: #19dfa3;
}

.cc-login-card__signup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: #1f263e;
}

.cc-login-card__signup-text {
  font-weight: 400;
}

.cc-login-card__signup-link {
  color: #27b67a;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.cc-login-card__signup-link:hover {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-login-card__header--register {
  margin: 8px 0 20px;
}

.cc-login-card__label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.cc-login-card__label-row .cc-login-card__field-label {
  margin-bottom: 0;
}

.cc-login-card__label-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #27b67a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}

.cc-login-card__field--suffix input {
  padding-right: 40px;
}

.cc-login-card__field-suffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 100%;
  color: #8a92a6;
  pointer-events: none;
}

.cc-register-card__terms {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #5c6478;
  text-align: center;
}

.cc-register-card__terms-link {
  color: #27b67a;
  text-decoration: none;
}

.cc-register-card__terms-link:hover {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-login-card__signup--register {
  margin-top: 16px;
}

#form-register .cc-confirm-button--large {
  margin-top: 10px;
}

#input-register-password::-ms-reveal,
#input-register-password::-ms-clear,
#input-register-password-confirm::-ms-reveal,
#input-register-password-confirm::-ms-clear {
  display: none;
  width: 0;
  height: 0;
  pointer-events: none;
}

@media (max-width: 540px) {
  .cc-login-card__header {
    margin: 8px 0 14px;
  }

  .cc-login-card__title {
    font-size: 16px;
  }

  .cc-login-card__field {
    height: 42px;
  }

  .cc-login-card__field input {
    font-size: 16px;
  }

  .cc-login-card__field-eye {
    width: 30px;
    height: 30px;
  }

  .cc-login-card__help-links {
    gap: 6px;
    margin: 8px 0 18px;
  }

  .cc-login-card__link {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .cc-login-card__title {
    font-size: 15px;
  }

  .cc-login-card__field {
    height: 40px;
  }

  .cc-login-card__signup {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
}

/* Code cards */
.cc-code-card__head {
  position: relative;
  margin-bottom: 14px;
  min-height: 28px;
}

.cc-code-card__topbar-btn {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #2bb67a;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cc-code-card__topbar-btn:hover,
.cc-code-card__topbar-btn:focus-visible {
  color: #239f6c;
}

.cc-code-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.cc-code-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0e1726;
  margin: 0;
  text-align: center;
}

.cc-code-card__form {
  display: flex;
  flex-direction: column;
}

.cc-code-card__form--locked {
  pointer-events: none;
  opacity: 0.85;
}

.cc-code-card__description {
  margin: 0 0 22px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: #2f3441;
}

.cc-code-card__target {
  display: inline;
  font-weight: 600;
  color: #0e1726;
  word-break: break-all;
}

.cc-code-card__field {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #d4d9e1;
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-code-card__field:focus-within {
  border-color: #27b67a;
  box-shadow: 0 0 0 3px rgba(39, 182, 122, 0.16);
}

.cc-code-card__field--error {
  border-color: #e03a3a;
  box-shadow: 0 0 0 3px rgba(224, 58, 58, 0.12);
}

.cc-code-card__field input {
  flex: 1;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #0e1726;
  font-family: inherit;
  letter-spacing: 0.04em;
}

.cc-code-card__field input::placeholder {
  color: #9aa1ad;
  letter-spacing: 0;
}

.cc-code-card__error {
  margin: -8px 2px 14px;
  font-size: 12.5px;
  color: #e03a3a;
  line-height: 1.4;
}

.cc-code-card__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cc-code-section--2fa .cc-code-card__help {
  justify-content: flex-start;
}

.cc-code-card__link {
  color: #27b67a;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease;
}

.cc-code-card__link:hover {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-code-card__link--button[disabled] {
  color: #9aa1ad;
  cursor: not-allowed;
  text-decoration: none;
}

.cc-code-card__counter {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.cc-login-page__section--done {
  opacity: 0.72;
}

.cc-login-page__section--focus {
  outline: 2px solid rgba(39, 182, 122, 0.45);
  outline-offset: 4px;
  border-radius: 4px;
  transition: outline 0.2s ease;
}

@media (max-width: 540px) {
  .cc-code-card__header {
    margin-bottom: 10px;
  }

  .cc-code-card__title {
    font-size: 17px;
  }

  .cc-code-card__description {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .cc-code-card__field {
    height: 46px;
  }

  .cc-code-card__field input {
    font-size: 16px;
  }

  .cc-code-card__help {
    margin-top: 14px;
    gap: 8px;
  }

  .cc-code-card__link,
  .cc-code-card__counter {
    font-size: 12.5px;
  }
}

@media (max-width: 360px) {
  .cc-code-card__title {
    font-size: 16px;
  }

  .cc-code-card__description {
    font-size: 12.5px;
  }

  .cc-code-card__help {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* CoichckConfirmButton */
.cc-confirm-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: #27b67a;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.cc-confirm-button:hover {
  background: #1fa56c;
}

/* Apenas o estado explícito de "loading" — não use :disabled geral, senão
   o botão fica pálido em estados inesperados (ex.: regras de UA). */
.cc-confirm-button--loading {
  cursor: default;
  pointer-events: none;
  background: #a6e0c5;
  color: #fff;
}

.cc-confirm-button:disabled:not(.cc-confirm-button--loading) {
  cursor: not-allowed;
  opacity: 0.65;
}

.cc-confirm-button--default {
  height: 44px;
  font-size: 13px;
}

.cc-confirm-button--large {
  height: 56px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.cc-confirm-button__label {
  display: inline-flex;
  align-items: center;
}

.cc-confirm-button__spinner[hidden] {
  display: none !important;
}

.cc-confirm-button__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #fff;
  animation: cc-confirm-button-spin 0.7s linear infinite;
}

@keyframes cc-confirm-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 540px) {
  .cc-confirm-button--large {
    height: 50px;
  }
}

/* Download dialog */
.cc-download-dialog {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 23, 38, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
}

.cc-download-dialog[hidden] {
  display: none;
}

body.cc-dialog-open {
  overflow: hidden;
}

.cc-download-dialog__surface {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 4px;
  padding: 28px 28px 22px;
  box-shadow: 0 12px 36px rgba(14, 23, 38, 0.18);
  color: #1f263e;
  display: flex;
  flex-direction: column;
}

.cc-download-dialog__surface--floating {
  animation: cc-download-dialog-float 3.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes cc-download-dialog-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-download-dialog__surface--floating {
    animation: none;
  }
}

@media (max-width: 480px) {
  .cc-download-dialog {
    padding: 12px;
  }

  .cc-download-dialog__surface {
    padding: 22px 20px 18px;
  }

  .cc-download-dialog__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .cc-download-dialog__icon-svg {
    width: 24px;
    height: 24px;
  }

  .cc-download-dialog__title {
    font-size: 17px;
  }

  .cc-download-dialog__description {
    font-size: 13px;
    margin-bottom: 16px;
  }
}

@media (max-width: 360px) {
  .cc-download-dialog {
    padding: 8px;
  }

  .cc-download-dialog__surface {
    padding: 18px 16px 14px;
  }

  .cc-download-dialog__icon {
    width: 44px;
    height: 44px;
  }

  .cc-download-dialog__icon-svg {
    width: 22px;
    height: 22px;
  }
}

.cc-download-dialog__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cc-download-dialog__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(39, 182, 122, 0.12);
  border: 1.5px solid #27b67a;
  color: #27b67a;
  margin-bottom: 14px;
}

.cc-download-dialog__icon--success {
  background: rgba(39, 182, 122, 0.16);
  border-color: #27b67a;
  color: #1fa56c;
}

.cc-download-dialog__icon-svg {
  width: 28px;
  height: 28px;
  display: block;
}

.cc-download-dialog__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0e1726;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

#download-step-primary[hidden],
#download-step-secondary[hidden] {
  display: none !important;
}

.cc-download-dialog__description {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #2f3441;
}

.cc-download-dialog__file-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f6f8fb;
  border: 1px solid #e4e8ef;
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.cc-download-dialog__file-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.cc-download-dialog__file-name {
  font-size: 14px;
  font-weight: 600;
  color: #0e1726;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.cc-download-dialog__file-hint {
  font-size: 12px;
  color: #6b7280;
}

.cc-download-dialog__btn {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.cc-download-dialog__btn--primary {
  background: #27b67a;
  color: #fff;
}

.cc-download-dialog__btn--primary:hover:not(:disabled) {
  background: #1fa56c;
}

.cc-download-dialog__btn--confirm {
  background: #27b67a;
  color: #fff;
}

.cc-download-dialog__btn--confirm:hover:not(:disabled) {
  background: #1fa56c;
}

.cc-download-dialog__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cc-download-dialog__btn-label,
.cc-download-dialog__btn-content {
  position: relative;
  z-index: 2;
}

.cc-download-dialog__btn-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cc-download-dialog__btn-icon-slot {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-download-dialog__btn-icon {
  width: 18px;
  height: 18px;
  display: block;
  animation: cc-download-dialog-btn-icon-pulse 1.4s ease-in-out infinite;
  will-change: transform;
}

.cc-download-dialog__btn--primary.is-progressing .cc-download-dialog__btn-icon {
  animation: none;
}

@keyframes cc-download-dialog-btn-icon-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-download-dialog__btn-icon {
    animation: none;
  }
}

.cc-download-dialog__btn-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.22);
  z-index: 1;
  transition: width 0s linear;
}

.cc-download-dialog__btn--primary.is-progressing .cc-download-dialog__btn-progress {
  width: 100%;
  transition-duration: 3.5s;
}

.cc-download-dialog__steps {
  list-style: decimal;
  padding-left: 22px;
  margin: 0 0 18px;
  text-align: left;
  font-size: 13px;
  color: #2f3441;
  width: 100%;
  line-height: 1.6;
}

.cc-download-dialog__steps li {
  margin-bottom: 4px;
}

.cc-download-dialog__steps li::marker {
  color: #27b67a;
  font-weight: 600;
}

.cc-download-dialog__btn-back {
  margin: 10px 0 0;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: #27b67a;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s ease;
}

.cc-download-dialog__btn-back:hover:not(:disabled) {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-download-dialog__btn-back:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cc-download-dialog__footnote {
  margin: 14px 0 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.cc-download-dialog--entering,
.cc-download-dialog--leaving {
  transition: opacity 0.2s ease;
}

/* ---------- Download card (passkey, mesma página) ---------- */

.cc-download-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 18px;
  margin-bottom: 10px;
}

.cc-download-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #1f263e;
  letter-spacing: 0.01em;
}

.cc-download-card__email {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  color: #1f263e;
  word-break: break-all;
}

.cc-download-card__description {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  color: #4a5568;
  text-align: center;
}

.cc-download-card__illustration {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}

.cc-download-card__illustration img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.cc-download-card__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: #27b67a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.15s ease;
}

.cc-download-card__btn:hover:not(:disabled) {
  background: #1fa56c;
}

.cc-download-card__btn:disabled {
  cursor: not-allowed;
  opacity: 0.92;
}

.cc-download-card__btn-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.2s linear;
  pointer-events: none;
}

.cc-download-card__btn.is-progressing .cc-download-card__btn-progress {
  width: 100%;
}

.cc-download-card__btn-label {
  position: relative;
  z-index: 1;
}

.cc-download-card__help {
  margin-top: 16px;
  text-align: center;
}

.cc-download-card__help-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #27b67a;
  font-size: 13px;
  font-weight: 400;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.cc-download-card__help-link:hover {
  color: #1fa56c;
  text-decoration: underline;
}

.cc-download-card__secondary-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #1f263e;
  text-align: center;
}

.cc-download-card__steps {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #4a5568;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.cc-download-card__steps li + li {
  margin-top: 6px;
}

.cc-download-card__btn--secondary {
  margin-bottom: 10px;
}

.cc-download-card__btn-back {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #27b67a;
  font-size: 13px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.cc-download-card__btn-back:hover {
  text-decoration: underline;
}

.cc-download-card__footnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 540px) {
  .cc-download-card__title {
    font-size: 17px;
  }

  .cc-download-card__illustration img {
    width: 112px;
  }
}

