.pix-fresh-body,
.pix-auth-shell {
  --pix-field-bg: linear-gradient(180deg, rgba(18, 20, 24, 0.96), rgba(11, 13, 17, 0.98));
  --pix-field-border: rgba(255, 255, 255, 0.08);
  --pix-field-border-focus: rgba(255, 255, 255, 0.22);
  --pix-field-text: #f4f6f8;
  --pix-field-muted: #8d95a1;
  --pix-btn-primary-bg: linear-gradient(180deg, #f3f5f7 0%, #d9dde2 100%);
  --pix-btn-primary-text: #0b0d10;
  --pix-btn-secondary-bg: linear-gradient(180deg, rgba(22, 24, 29, 0.98), rgba(15, 17, 21, 0.98));
  --pix-btn-secondary-border: rgba(255, 255, 255, 0.09);
  --pix-btn-secondary-text: #f3f5f7;
  --pix-btn-danger-bg: linear-gradient(180deg, #712f3a 0%, #58212b 100%);
  --pix-btn-danger-text: #fff3f5;
}

.pix-fresh-body .form-group,
.pix-fresh-body .pix-form-group,
.pix-fresh-body .pix-form-group-dark,
.pix-auth-shell .form-group,
.pix-auth-shell .pix-form-group,
.pix-auth-shell .pix-form-group-dark,
.pix-auth-shell .field,
.pix-auth-shell .actions {
  margin-bottom: 16px;
}

.pix-fresh-body label,
.pix-fresh-body .pix-form-label-dark,
.pix-auth-shell label,
.pix-auth-shell .pix-form-label-dark {
  display: block;
  margin-bottom: 8px;
  color: var(--pix-field-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pix-fresh-body .form-control,
.pix-fresh-body .pix-form-control-dark,
.pix-fresh-body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.pix-fresh-body select,
.pix-fresh-body textarea,
.pix-auth-shell .form-control,
.pix-auth-shell .pix-form-control-dark,
.pix-auth-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.pix-auth-shell select,
.pix-auth-shell textarea {
  appearance: none !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 16px !important;
  border: 1px solid var(--pix-field-border) !important;
  border-radius: 18px !important;
  background: var(--pix-field-bg) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  color: var(--pix-field-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

.pix-fresh-body textarea,
.pix-auth-shell textarea {
  min-height: 120px !important;
  padding: 14px 16px !important;
  resize: vertical !important;
}

.pix-fresh-body input[type="date"],
.pix-fresh-body input[type="time"],
.pix-auth-shell input[type="date"],
.pix-auth-shell input[type="time"] {
  min-height: 52px !important;
  height: 52px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 52px !important;
}

.pix-fresh-body select,
.pix-auth-shell select {
  padding-right: 42px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca5b1 50%),
    linear-gradient(135deg, #9ca5b1 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}

.pix-fresh-body .form-control::placeholder,
.pix-fresh-body .pix-form-control-dark::placeholder,
.pix-fresh-body input::placeholder,
.pix-fresh-body textarea::placeholder,
.pix-auth-shell .form-control::placeholder,
.pix-auth-shell .pix-form-control-dark::placeholder,
.pix-auth-shell input::placeholder,
.pix-auth-shell textarea::placeholder {
  color: #6f7782;
}

.pix-fresh-body .form-control:focus,
.pix-fresh-body .pix-form-control-dark:focus,
.pix-fresh-body input:focus,
.pix-fresh-body select:focus,
.pix-fresh-body textarea:focus,
.pix-auth-shell .form-control:focus,
.pix-auth-shell .pix-form-control-dark:focus,
.pix-auth-shell input:focus,
.pix-auth-shell select:focus,
.pix-auth-shell textarea:focus {
  outline: none !important;
  border-color: var(--pix-field-border-focus) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 3px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.22) !important;
}

.pix-fresh-body .form-control[readonly],
.pix-fresh-body .pix-form-control-dark[readonly],
.pix-fresh-body input[readonly],
.pix-fresh-body textarea[readonly],
.pix-auth-shell .form-control[readonly],
.pix-auth-shell .pix-form-control-dark[readonly],
.pix-auth-shell input[readonly],
.pix-auth-shell textarea[readonly] {
  color: #c5ccd4;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.9), rgba(10, 12, 16, 0.96));
}

.pix-fresh-body .input-group,
.pix-auth-shell .input-group {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.pix-fresh-body .input-group .form-control,
.pix-auth-shell .input-group .form-control {
  flex: 1 1 auto;
}

.pix-fresh-body .input-group-btn,
.pix-auth-shell .input-group-btn {
  display: flex;
  gap: 8px;
}

.pix-fresh-body .btn,
.pix-fresh-body .pix-btn,
.pix-fresh-body .pix-btn-primary,
.pix-fresh-body .pix-btn-secondary,
.pix-fresh-body .pix-btn-secondary-dark,
.pix-fresh-body .pix-btn-ghost,
.pix-fresh-body .pix-btn-table,
.pix-fresh-body .pix-cta,
.pix-fresh-body .pix-login-ghost-btn,
.pix-fresh-body button:not(.pix-fresh-icon-btn):not(.pix-password-toggle):not(.pix-home-balance-toggle),
.pix-fresh-body input[type="submit"],
.pix-fresh-body input[type="button"],
.pix-auth-shell .btn,
.pix-auth-shell .pix-btn,
.pix-auth-shell .pix-btn-primary,
.pix-auth-shell .pix-btn-secondary,
.pix-auth-shell .pix-btn-secondary-dark,
.pix-auth-shell .pix-btn-ghost,
.pix-auth-shell .pix-login-ghost-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease !important;
  text-shadow: none !important;
}

.pix-fresh-body .btn:hover,
.pix-fresh-body .pix-btn:hover,
.pix-fresh-body .pix-btn-primary:hover,
.pix-fresh-body .pix-btn-secondary:hover,
.pix-fresh-body .pix-btn-secondary-dark:hover,
.pix-fresh-body .pix-login-ghost-btn:hover,
.pix-auth-shell .btn:hover,
.pix-auth-shell .pix-btn:hover,
.pix-auth-shell .pix-btn-primary:hover,
.pix-auth-shell .pix-btn-secondary:hover,
.pix-auth-shell .pix-btn-secondary-dark:hover,
.pix-auth-shell .pix-login-ghost-btn:hover {
  transform: translateY(-1px);
}

.pix-fresh-body .btn:focus,
.pix-fresh-body .pix-btn:focus,
.pix-fresh-body .pix-btn-primary:focus,
.pix-fresh-body .pix-btn-secondary:focus,
.pix-fresh-body .pix-btn-secondary-dark:focus,
.pix-fresh-body .pix-login-ghost-btn:focus,
.pix-auth-shell .btn:focus,
.pix-auth-shell .pix-btn:focus,
.pix-auth-shell .pix-btn-primary:focus,
.pix-auth-shell .pix-btn-secondary:focus,
.pix-auth-shell .pix-btn-secondary-dark:focus,
.pix-auth-shell .pix-login-ghost-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.pix-fresh-body .btn,
.pix-fresh-body .btn-default,
.pix-fresh-body .pix-btn-secondary,
.pix-fresh-body .pix-btn-secondary-dark,
.pix-fresh-body .pix-btn-ghost,
.pix-fresh-body .pix-btn-table,
.pix-fresh-body .pix-cta,
.pix-fresh-body .pix-login-ghost-btn,
.pix-fresh-body button:not(.pix-fresh-icon-btn):not(.pix-password-toggle):not(.pix-home-balance-toggle),
.pix-auth-shell .btn,
.pix-auth-shell .btn-default,
.pix-auth-shell .pix-btn-secondary,
.pix-auth-shell .pix-btn-secondary-dark,
.pix-auth-shell .pix-btn-ghost,
.pix-auth-shell .pix-login-ghost-btn {
  background: var(--pix-btn-secondary-bg) !important;
  border-color: var(--pix-btn-secondary-border) !important;
  color: var(--pix-btn-secondary-text) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2) !important;
}

.pix-fresh-body .btn-primary,
.pix-fresh-body .btn-success,
.pix-fresh-body .pix-btn-primary,
.pix-fresh-body .pix-btn-primary-dark,
.pix-fresh-body input[type="submit"].btn-primary,
.pix-fresh-body input[type="submit"].pix-btn-primary,
.pix-auth-shell .btn-primary,
.pix-auth-shell .btn-success,
.pix-auth-shell .pix-btn-primary,
.pix-auth-shell .pix-btn-primary-dark {
  background: var(--pix-btn-primary-bg) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: var(--pix-btn-primary-text) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22) !important;
}

.pix-fresh-body .btn-warning,
.pix-auth-shell .btn-warning {
  background: linear-gradient(180deg, #7a5a23 0%, #61471b 100%) !important;
  border-color: rgba(255, 214, 138, 0.2) !important;
  color: #fff5de !important;
}

.pix-fresh-body .btn-danger,
.pix-fresh-body .pix-btn-danger,
.pix-auth-shell .btn-danger,
.pix-auth-shell .pix-btn-danger {
  background: var(--pix-btn-danger-bg) !important;
  border-color: rgba(255, 165, 180, 0.18) !important;
  color: var(--pix-btn-danger-text) !important;
}

.pix-fresh-body .btn-xs,
.pix-fresh-body .btn-sm,
.pix-auth-shell .btn-xs,
.pix-auth-shell .btn-sm {
  min-height: 38px !important;
  padding: 0 12px !important;
  border-radius: 13px !important;
  font-size: 11px !important;
}

.pix-fresh-body .btn-block,
.pix-fresh-body .pix-btn-block,
.pix-auth-shell .btn-block,
.pix-auth-shell .pix-btn-block {
  display: flex !important;
  width: 100% !important;
}

.pix-fresh-body .pix-form-help-dark,
.pix-auth-shell .pix-form-help-dark {
  color: #a3acb8;
  font-size: 12px;
}

.pix-auth-card {
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.94), rgba(11, 13, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.pix-auth-card-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.pix-auth-title {
  margin: 0;
  color: #f4f6f8;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pix-auth-subtitle {
  margin: 0;
  color: #9ba4af;
  font-size: 14px;
  line-height: 1.5;
}

.pix-auth-link-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pix-auth-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.pix-auth-links a,
.pix-auth-links form {
  margin: 0;
}

.pix-auth-links .button_to {
  display: inline-flex;
}

.pix-auth-links .button_to .btn,
.pix-auth-links .button_to button {
  width: auto;
}

@media (max-width: 767px) {
  .pix-auth-card {
    padding: 22px;
    border-radius: 24px;
  }

  .pix-auth-title {
    font-size: 24px;
  }
}
