/* ============================================================
   Page de réception publique — templates/reception.php
   Portée .wysam-deposit, séparée de .wysam-uploader : la page d'envoi
   est un outil dense du quotidien, celle-ci est une vitrine vue par les
   correspondants de nos utilisateurs.

   Parti pris : une seule carte blanche posée sur un fond teinté, la zone
   de dépôt comme élément central, la couleur réservée aux points chauds
   (halo de fond, zone de dépôt, bouton d'envoi).
   ============================================================ */
.wysam-deposit {
  --wd-ink: #0f1f2a;
  --wd-body: #44555f;
  --wd-muted: #6d7c86;
  --wd-soft: #93a3ad;
  --wd-line: #e6edf1;
  --wd-panel: #f5f9fb;
  --wd-blue: #0b7fb4;
  --wd-blue-dark: #0a648f;
  --wd-blue-soft: #e9f4fa;
  --wd-green: #0d7a5f;
  --wd-red: #b4462a;
  position: relative;
  z-index: 0;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
  color: var(--wd-body);
  font-size: 1rem;
  line-height: 1.6;
}

.wysam-deposit .d-none {
  display: none !important;
}

/* BUG-04 : la règle ci-dessus est plus spécifique que les variantes responsives de
   Bootstrap et masquait les 6 cases du code SMS (d-none d-md-flex) sur ordinateur. */
@media (min-width: 768px) {
  .wysam-deposit .d-none.d-md-flex {
    display: flex !important;
  }

  .wysam-deposit .d-none.d-md-block {
    display: block !important;
  }
}

/* Le halo déborde de la largeur de la barre de défilement : on empêche le
   défilement horizontal qui en découlerait, sans toucher aux autres pages. */
body:has(.wysam-deposit) {
  overflow-x: hidden;
}

/* Halo coloré derrière la carte, d'un bord à l'autre de l'écran.
   100vw inclut la barre de défilement : le débordement est neutralisé plus bas,
   sur la page de réception uniquement (cette feuille n'est chargée que là). */
.wysam-deposit .wd-backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 24rem;
  margin-left: -50vw;
  background:
    radial-gradient(38rem 18rem at 50% 0%, rgba(11, 127, 180, .16), transparent 70%),
    radial-gradient(26rem 14rem at 78% 22%, rgba(14, 165, 233, .12), transparent 70%),
    linear-gradient(180deg, #eef6fb 0%, rgba(238, 246, 251, 0) 100%);
  pointer-events: none;
}

/* ---------- La carte ---------- */
.wysam-deposit .wd-card {
  overflow: hidden;
  border: 1px solid #dfe9ee;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 31, 42, .04), 0 24px 56px rgba(15, 31, 42, .10);
}

/* En-tête : à qui l'on dépose */
.wysam-deposit .wd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--wd-line);
  background: linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%);
}

.wysam-deposit .wd-who {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.wysam-deposit .wd-who-avatar {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 31, 42, .16);
  object-fit: cover;
}

.wysam-deposit .wd-who-text {
  min-width: 0;
}

.wysam-deposit .wd-who-kicker {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  color: var(--wd-blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wysam-deposit .wd-who-name {
  margin: .1rem 0 0;
  color: var(--wd-ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.22;
}

.wysam-deposit .wd-who-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .05rem .7rem;
  margin: .15rem 0 0;
  color: var(--wd-muted);
  font-size: .9rem;
}

.wysam-deposit .wd-who-logo {
  height: 58px;
  width: auto;
  max-width: 12rem;
  flex: 0 0 auto;
  object-fit: contain;
}

/* Corps */
.wysam-deposit .wd-body {
  padding: 2rem;
}

.wysam-deposit .wd-title {
  margin: 0;
  color: var(--wd-ink);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.wysam-deposit .wd-lead {
  margin: .6rem 0 0;
  color: var(--wd-body);
  font-size: 1rem;
}

.wysam-deposit .wd-lead strong {
  color: var(--wd-ink);
}

/* Mot laissé par le destinataire */
.wysam-deposit .wd-owner-message {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--wd-blue);
  border-radius: 0 .8rem .8rem 0;
  background: var(--wd-blue-soft);
}

.wysam-deposit .wd-owner-message blockquote {
  margin: 0;
  color: var(--wd-ink);
  font-size: .97rem;
  line-height: 1.6;
}

.wysam-deposit .wd-owner-message blockquote > :last-child {
  margin-bottom: 0;
}

.wysam-deposit .wd-owner-message figcaption {
  margin-top: .45rem;
  color: var(--wd-blue-dark);
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- Zone de dépôt : le point central de la page ---------- */
.wysam-deposit .wysam-cipher {
  margin-top: 1.75rem;
}

.wysam-deposit .wd-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: 3rem 1.5rem;
  border: 2px dashed #a9d2e8;
  border-radius: 1.25rem;
  background:
    radial-gradient(22rem 10rem at 50% 0%, rgba(11, 127, 180, .07), transparent 70%),
    #fbfdfe;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.wysam-deposit .wd-drop:hover,
.wysam-deposit .wd-drop.dragover {
  border-color: var(--wd-blue);
  background: #f2fafd;
  box-shadow: 0 12px 30px rgba(11, 127, 180, .14);
}

.wysam-deposit .wd-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: .6rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--wd-blue), #0ea5e9);
  box-shadow: 0 10px 22px rgba(11, 127, 180, .3);
  font-size: 1.5rem;
}

.wysam-deposit .wd-drop-title {
  color: var(--wd-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.wysam-deposit .wd-drop-hint {
  color: var(--wd-muted);
  font-size: .92rem;
}

.wysam-deposit .wd-drop-limit {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  color: var(--wd-muted);
  background: #eef4f7;
  font-size: .76rem;
  font-weight: 600;
}

.wysam-deposit .wysam-file-selection {
  margin-top: 1rem;
  border-color: var(--wd-line);
  border-radius: 1rem;
}

/* ---------- Champs ---------- */
.wysam-deposit .wd-field {
  margin-top: 1.5rem;
}

.wysam-deposit .wd-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.wysam-deposit .wd-fields .wd-field {
  margin-top: 0;
}

.wysam-deposit .wd-field label {
  display: block;
  margin-bottom: .4rem;
  color: var(--wd-ink);
  font-size: .9rem;
  font-weight: 600;
}

.wysam-deposit .wd-field label span {
  color: var(--wd-soft);
  font-weight: 400;
}

.wysam-deposit .form-control {
  padding: .75rem .95rem;
  border: 1px solid #d9e3e9;
  border-radius: .75rem;
  color: var(--wd-ink);
  font-size: .97rem;
}

.wysam-deposit .form-control::placeholder {
  color: #aebac3;
}

.wysam-deposit .form-control:focus {
  border-color: var(--wd-blue);
  box-shadow: 0 0 0 .22rem rgba(11, 127, 180, .15);
}

.wysam-deposit .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.wysam-deposit .input-group .btn {
  border-radius: 0 .75rem .75rem 0;
  font-weight: 600;
}

.wysam-deposit .wd-hint {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .4rem 0 0;
  color: var(--wd-soft);
  font-size: .78rem;
}

.wysam-deposit .wd-hint .bi {
  color: var(--wd-green);
}

/* Mention « obligatoire » dans les intitulés */
.wysam-deposit .wd-req {
  display: inline-block;
  margin-left: .35rem;
  padding: .05rem .4rem;
  border-radius: 999px;
  color: var(--wd-blue-dark);
  background: var(--wd-blue-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Frise des étapes du dépôt, sur une seule ligne : les libellés alternent
   au-dessus et en dessous des pastilles, qui restent alignées entre elles. */
.wysam-deposit .wd-flow {
  display: flex;
  align-items: stretch;
  margin: 1.75rem 0 0;
  padding: .85rem 1rem;
  border: 1px solid var(--wd-line);
  border-radius: .9rem;
  background: var(--wd-panel);
  list-style: none;
}

.wysam-deposit .wd-flow-step {
  position: relative;
  display: grid;
  flex: 1 1 0;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  min-width: 0;
}

/* Trait de liaison, à hauteur des pastilles */
.wysam-deposit .wd-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  left: 50%;
  height: 2px;
  margin-top: -1px;
  background: #dbe5ea;
}

.wysam-deposit .wd-flow-dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  grid-row: 2;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #dbe5ea;
  border-radius: 999px;
  color: var(--wd-soft);
  background: #fff;
  font-size: .76rem;
  font-weight: 700;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.wysam-deposit .wd-flow-dot .bi {
  display: none;
  font-size: .95rem;
}

.wysam-deposit .wd-flow-label {
  grid-row: 1;
  align-self: end;
  max-width: 9rem;
  padding: 0 .25rem .4rem;
  color: var(--wd-soft);
  font-size: .74rem;
  line-height: 1.25;
  text-align: center;
}

/* Un libellé sur deux passe en dessous : la frise tient sur une ligne */
.wysam-deposit .wd-flow-step:nth-child(even) .wd-flow-label {
  grid-row: 3;
  align-self: start;
  padding: .4rem .25rem 0;
}

/* Étape faite */
.wysam-deposit .wd-flow-step.is-done .wd-flow-dot {
  border-color: var(--wd-green);
  color: #fff;
  background: var(--wd-green);
}

.wysam-deposit .wd-flow-step.is-done .wd-flow-num {
  display: none;
}

.wysam-deposit .wd-flow-step.is-done .wd-flow-dot .bi {
  display: inline;
}

.wysam-deposit .wd-flow-step.is-done .wd-flow-label {
  color: var(--wd-muted);
}

.wysam-deposit .wd-flow-step.is-done:not(:last-child)::after {
  background: var(--wd-green);
}

/* Tout est prêt : phrase affichée sous la frise */
.wysam-deposit .wd-flow-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: .6rem 0 0;
  color: var(--wd-green);
  font-size: .86rem;
  font-weight: 600;
}

/* Étape en cours */
.wysam-deposit .wd-flow-step.is-current .wd-flow-dot {
  border-color: var(--wd-blue);
  color: var(--wd-blue);
  background: var(--wd-blue-soft);
  box-shadow: 0 0 0 .22rem rgba(11, 127, 180, .14);
}

.wysam-deposit .wd-flow-step.is-current .wd-flow-label {
  color: var(--wd-ink);
  font-weight: 700;
}

/* Sous 560 px, la frise s'empile : les libellés reviennent à côté des pastilles */
@media (max-width: 559.98px) {
  .wysam-deposit .wd-flow {
    flex-direction: column;
    gap: .6rem;
    padding: 1rem 1.15rem;
  }

  .wysam-deposit .wd-flow-step {
    display: flex;
    align-items: center;
    gap: .6rem;
  }

  .wysam-deposit .wd-flow-step:not(:last-child)::after {
    display: none;
  }

  .wysam-deposit .wd-flow-label,
  .wysam-deposit .wd-flow-step:nth-child(even) .wd-flow-label {
    max-width: none;
    padding: 0;
    font-size: .84rem;
    text-align: left;
  }
}

.wysam-deposit .wd-error {
  display: block;
  margin-top: .35rem;
  color: var(--wd-red);
  font-size: .82rem;
}

/* Coordonnées du déposant */
.wysam-deposit .wd-sender {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wd-line);
}

.wysam-deposit .wd-sender-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .85rem;
  color: var(--wd-body);
  font-size: .92rem;
}

.wysam-deposit .wd-sender-label .bi {
  color: var(--wd-blue);
}

.wysam-deposit .wd-sender-label strong {
  color: var(--wd-ink);
}

.wysam-deposit .wd-sender-known {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .95rem 1.1rem;
  border-radius: .85rem;
  background: #f0f8f5;
}

.wysam-deposit .wd-sender-known .bi {
  color: var(--wd-green);
  font-size: 1.15rem;
}

.wysam-deposit .wd-sender-known strong {
  display: block;
  color: var(--wd-ink);
  font-size: .95rem;
}

.wysam-deposit .wd-sender-known span {
  display: block;
  color: var(--wd-muted);
  font-size: .86rem;
}

.wysam-deposit .wd-sender-known a {
  color: var(--wd-blue);
  font-weight: 600;
}

/* Vérification de l'adresse e-mail */
.wysam-deposit .wd-verify {
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid #d5e8f3;
  border-radius: .9rem;
  background: var(--wd-blue-soft);
}

.wysam-deposit .wd-verify-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .75rem;
  color: var(--wd-ink);
  font-size: .92rem;
  font-weight: 600;
}

.wysam-deposit .wd-verify-title .bi {
  color: var(--wd-blue);
}

/* Cases à cocher */
.wysam-deposit .wd-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.25rem 0 0;
  color: var(--wd-body);
  font-size: .88rem;
  cursor: pointer;
}

.wysam-deposit .wd-check .form-check-input {
  flex: none;
  margin-top: .15rem;
}

.wysam-deposit .wd-check .form-check-input:checked {
  border-color: var(--wd-blue);
  background-color: var(--wd-blue);
}

/* Encadrés à cases : notification d'envoi, consentements */
.wysam-deposit .wd-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--wd-line);
  border-radius: .9rem;
  background: var(--wd-panel);
}

.wysam-deposit .wd-box-title {
  margin: 0 0 .7rem;
  color: var(--wd-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wysam-deposit .wd-box .wd-check {
  margin: 0;
}

.wysam-deposit .wd-box .wd-check + .wd-check {
  margin-top: .6rem;
}

.wysam-deposit .wd-box a {
  color: var(--wd-blue);
  font-weight: 600;
}

.wysam-deposit .wd-box .wd-msg {
  margin-top: .85rem;
}

/* ---------- Envoi ---------- */
.wysam-deposit .wd-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-top: .85rem;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: .9rem;
  background-image: linear-gradient(135deg, var(--wd-blue) 0%, #0ea5e9 100%);
  box-shadow: 0 12px 26px rgba(11, 127, 180, .32);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  transition: box-shadow .15s ease, transform .15s ease;
}

.wysam-deposit .wd-send:hover:not(:disabled) {
  box-shadow: 0 16px 32px rgba(11, 127, 180, .38);
  color: #fff;
  transform: translateY(-1px);
}

.wysam-deposit .wd-send:disabled {
  opacity: .6;
}

.wysam-deposit .wd-legal {
  margin: .85rem 0 0;
  color: var(--wd-soft);
  font-size: .78rem;
  text-align: center;
}

.wysam-deposit .wd-legal a {
  color: var(--wd-blue);
}

.wysam-deposit .user-info-progress {
  margin-top: 1.5rem;
}

.wysam-deposit .wd-progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: .4rem;
  color: var(--wd-muted);
  font-size: .82rem;
  font-weight: 600;
}

.wysam-deposit .progress {
  height: 10px;
  border-radius: 999px;
  background: #e7eff3;
}

.wysam-deposit .progress-bar {
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--wd-blue), #0ea5e9);
}

/* ---------- Messages ---------- */
.wysam-deposit .wd-msg {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: .8rem 1rem;
  border-radius: .75rem;
  font-size: .88rem;
}

.wysam-deposit .wd-msg--ok {
  color: #1f5a47;
  background: #eaf7f1;
}

.wysam-deposit .wd-msg--ko {
  color: #7a2e19;
  background: #fcf0eb;
}

.wysam-deposit #alert-area .alert {
  margin-top: 1rem;
  border: 0;
  border-radius: .75rem;
}

.wysam-deposit .wd-notice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: #fff7ea;
  color: #6b4a12;
}

.wysam-deposit .wd-notice .bi {
  font-size: 1.4rem;
}

.wysam-deposit .wd-notice strong {
  display: block;
  margin-bottom: .15rem;
  color: var(--wd-ink);
}

.wysam-deposit .wd-notice span {
  font-size: .92rem;
}

/* ---------- Dépôt terminé ---------- */
.wysam-deposit .wd-done {
  padding: 2rem 1.5rem;
  border: 1px solid #cde6de;
  border-radius: 1rem;
  background: #f1f9f5;
  text-align: center;
}

.wysam-deposit .wd-done-icon {
  color: var(--wd-green);
  font-size: 2.6rem;
  line-height: 1;
}

.wysam-deposit .wd-done-title {
  margin: .75rem 0 .35rem;
  color: var(--wd-ink);
  font-size: 1.3rem;
  font-weight: 700;
}

.wysam-deposit .wd-done-text {
  max-width: 32rem;
  margin: 0 auto;
  color: #1f5a47;
  font-size: .95rem;
}

.wysam-deposit .wd-done-extra {
  margin: .75rem 0 0;
  color: var(--wd-muted);
  font-size: .84rem;
}

.wysam-deposit .wd-done-extra:empty {
  display: none;
}

/* ---------- Pied de carte : code de vérification ---------- */
.wysam-deposit .wd-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--wd-line);
  background: var(--wd-panel);
}

.wysam-deposit .wd-code {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.wysam-deposit .wd-code-label {
  color: var(--wd-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wysam-deposit .wd-code-value {
  padding: .2rem .6rem;
  border: 1px solid #d5e4ec;
  border-radius: .5rem;
  color: var(--wd-blue-dark);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .05em;
  word-break: break-all;
}

.wysam-deposit .wd-code-help {
  font-size: .8rem;
}

.wysam-deposit .wd-code-help summary {
  color: var(--wd-blue);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.wysam-deposit .wd-code-help summary::-webkit-details-marker {
  display: none;
}

.wysam-deposit .wd-code-help summary::before {
  content: "\f431";
  margin-right: .3rem;
  font-family: "bootstrap-icons";
  font-weight: 400;
}

.wysam-deposit .wd-code-help p {
  max-width: 26rem;
  margin: .5rem 0 0;
  color: var(--wd-muted);
  line-height: 1.5;
}

.wysam-deposit .wd-code-help strong {
  color: var(--wd-ink);
}

/* ---------- Sous la carte ---------- */
.wysam-deposit .wd-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.wysam-deposit .wd-trust li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--wd-muted);
  font-size: .82rem;
  font-weight: 600;
}

.wysam-deposit .wd-trust .bi {
  color: var(--wd-blue);
}

.wysam-deposit .wd-signup {
  margin: 1.25rem 0 0;
  color: var(--wd-muted);
  font-size: .88rem;
  text-align: center;
}

.wysam-deposit .wd-signup a {
  color: var(--wd-blue);
  font-weight: 600;
}

.wysam-deposit .wd-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wd-line);
  color: var(--wd-muted);
  font-size: .82rem;
}

.wysam-deposit .wd-signature .bi {
  color: var(--wd-blue);
}

.wysam-deposit .wd-signature strong {
  color: var(--wd-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

.wysam-deposit .wd-signature a {
  color: var(--wd-blue);
  font-weight: 600;
  text-decoration: none;
}

.wysam-deposit .wd-signature a:hover {
  text-decoration: underline;
}

/* ---------- Vérification par SMS (composant partagé includes/inc.php) ---------- */
.wysam-deposit .wysam-otp-block {
  margin: 1.5rem 0 0 !important;
  border: 1px solid var(--wd-line) !important;
  border-radius: 1rem !important;
  background: var(--wd-panel) !important;
  box-shadow: none !important;
}

.wysam-deposit .wysam-otp-block > .card-header {
  padding: 1.25rem 1.5rem .25rem;
  border: 0;
  background: transparent !important;
  color: var(--wd-ink);
  font-size: 1rem;
}

.wysam-deposit .wysam-otp-block > .card-body {
  padding: 1rem 1.5rem 1.5rem;
}

.wysam-deposit .wysam-otp-block .callout {
  display: none !important;
}

.wysam-deposit .wysam-otp-block .form-label.alert {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wd-muted);
  font-size: .92rem;
}

.wysam-deposit .otp-inputs .otp-digit {
  border: 1px solid #d9e3e9 !important;
  border-radius: .75rem;
  background: #fff;
}

.wysam-deposit .otp-inputs .otp-digit:focus {
  border-color: var(--wd-blue) !important;
  box-shadow: 0 0 0 .22rem rgba(11, 127, 180, .15) !important;
}

/* ---------- Adaptations ---------- */
@media (max-width: 575.98px) {
  .wysam-deposit {
    padding: 1.5rem .85rem 2.5rem;
  }

  .wysam-deposit .wd-card {
    border-radius: 1.15rem;
  }

  .wysam-deposit .wd-head,
  .wysam-deposit .wd-body,
  .wysam-deposit .wd-foot {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .wysam-deposit .wd-body {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .wysam-deposit .wd-who-avatar {
    width: 64px;
    height: 64px;
  }

  .wysam-deposit .wd-drop {
    padding: 2rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wysam-deposit .wd-drop,
  .wysam-deposit .wd-send {
    transition: none;
  }
}
