/* =========================================================
   UFY PHONE — APP CAMISAS: CONECTAR O RECLAMAR CAMISA
   Parte 2 de shirts.css (se carga justo después de la
   parte anterior, en el mismo orden). Pantalla para conectar una
   camisa: cuenta, QR, código recuperado, casillas del código,
   botones (conectar, escanear, cerrar), mensajes de estado y
   aviso de seguridad.
   ========================================================= */

/* CONECTAR O RECLAMAR CAMISA */

.ufy-phone-shirts-panel.is-claim-screen {
  padding:
    25px
    18px
    21px;
}

.ufy-phone-shirts-claim {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  border: 0;

  color: #1b1624;
  text-align: center;
}

.ufy-phone-shirts-claim-account {
  width: fit-content;

  margin: 0 auto;
  padding: 8px 13px;

  border:
    1px solid
    rgba(115, 73, 181, 0.24);

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.28);

  color: #231b31;

  font-size:calc(12px * var(--ufy-font-scale,1));
  font-weight: 620;
  line-height: 1;
}

.ufy-phone-shirts-claim-account-icon {
  width: 18px;
  height: 18px;

  border:
    1.5px solid
    #7645bf;

  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #7645bf;

  font-size:calc(11px * var(--ufy-font-scale,1));
  font-weight: 800;
  line-height: 1;
}

.ufy-phone-shirts-claim-title {
  margin:
    22px
    0
    0;

  color: #171220;

  font-size:calc(31px * var(--ufy-font-scale,1));
  font-weight: 770;
  line-height: 1.02;
  letter-spacing: -1.15px;
}

.ufy-phone-shirts-claim-title-line {
  display: block;
}

.ufy-phone-shirts-claim-title-line.is-accent {
  color: #6f3db1;
}

.ufy-phone-shirts-claim-description {
  max-width: 275px;

  margin:
    14px
    auto
    0;

  color:
    rgba(43, 34, 57, 0.72);

  font-size:calc(13px * var(--ufy-font-scale,1));
  font-weight: 520;
  line-height: 1.38;
}

.ufy-phone-shirts-claim-qr {
  width: 158px;
  height: 158px;

  margin:
    22px
    auto
    0;
  padding: 7px;

  box-sizing: border-box;

  border:
    1px solid
    rgba(146, 86, 229, 0.52);

  border-radius: 22px;

  display: grid;
  place-items: center;

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.14);

  box-shadow:
    inset 0 1px 0
    rgba(var(--ufy-rgb-255,255,255,255),0.72),
    0 12px 25px
    rgba(38, 19, 69, 0.22),
    0 0 20px
    rgba(132, 72, 218, 0.28);
}

.ufy-phone-shirts-claim-qr img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  border-radius: 17px;

  pointer-events: none;
  user-select: none;
}

.ufy-phone-shirts-recovered {
  margin-top: 18px;
}

.ufy-phone-shirts-recovered-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color:
    rgba(54, 43, 69, 0.72);

  font-size:calc(11.5px * var(--ufy-font-scale,1));
  font-weight: 540;
  line-height: 1;
}

.ufy-phone-shirts-recovered-label::before,
.ufy-phone-shirts-recovered-label::after {
  content: "";

  width: 30px;
  height: 1px;

  background:
    rgba(80, 58, 111, 0.28);
}

.ufy-phone-shirts-recovered-code {
  width: fit-content;

  margin:
    8px
    auto
    0;
  padding:
    8px
    23px;

  border:
    1px solid
    rgba(111, 70, 174, 0.28);

  border-radius: 999px;

  display: block;

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.24);

  color: #181220;

  font-size:calc(19px * var(--ufy-font-scale,1));
  font-weight: 740;
  line-height: 1;
  letter-spacing: 0.55px;
}

.ufy-phone-shirts-claim-form {
  display: grid;
  gap: 10px;

  margin-top: 16px;
}

.ufy-phone-shirts-claim-code-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #1c1725;

  font-size:calc(13px * var(--ufy-font-scale,1));
  font-weight: 640;
  line-height: 1;
}

.ufy-phone-shirts-claim-lock {
  position: relative;

  width: 13px;
  height: 15px;

  display: inline-block;
  flex: 0 0 auto;
}

.ufy-phone-shirts-claim-lock::before {
  content: "";

  position: absolute;
  left: 3px;
  top: 0;

  width: 7px;
  height: 8px;

  box-sizing: border-box;

  border:
    2px solid
    #7243b8;

  border-bottom: 0;
  border-radius:
    6px 6px 0 0;
}

.ufy-phone-shirts-claim-lock::after {
  content: "";

  position: absolute;
  left: 1px;
  bottom: 0;

  width: 11px;
  height: 9px;

  box-sizing: border-box;

  border-radius: 2px;

  background: #7243b8;
}

.ufy-phone-shirts-claim-code-inputs {
  width: 100%;

  display: grid;
  grid-template-columns:
    repeat(
      8,
      minmax(0, 1fr)
    );
  gap: 5px;
}

.ufy-phone-shirts-claim-code-input {
  appearance: none;

  width: 100%;
  min-width: 0;
  height: 47px;

  padding: 0;
  box-sizing: border-box;

  border:
    1px solid
    rgba(105, 70, 158, 0.38);

  border-radius: 10px;
  outline: 0;

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.24);

  color: #17111e;

  font: inherit;
  font-size:calc(18px * var(--ufy-font-scale,1));
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;

  box-shadow:
    inset 0 1px 0
    rgba(var(--ufy-rgb-255,255,255,255),0.70);
}

.ufy-phone-shirts-claim-code-input:focus {
  border-color:
    rgba(123, 70, 207, 0.88);

  box-shadow:
    0 0 0 2px
    rgba(123, 70, 207, 0.14),
    inset 0 1px 0
    rgba(var(--ufy-rgb-255,255,255,255),0.78);
}

.ufy-phone-shirts-primary-button,
.ufy-phone-shirts-scan-button {
  appearance: none;

  width: 100%;
  min-height: 47px;

  padding: 10px 14px;

  border-radius: 15px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font: inherit;
  font-size:calc(13px * var(--ufy-font-scale,1));
  font-weight: 690;
  line-height: 1;

  cursor: pointer;
}

.ufy-phone-shirts-primary-button {
  border:
    1px solid
    rgba(218, 194, 255, 0.42);

  background:
    linear-gradient(
      135deg,
      #a36ae8,
      #7542bd 58%,
      #6231a8
    );

  color: var(--ufy-tone-255,#fff);

  box-shadow:
    inset 0 1px 0
    rgba(var(--ufy-rgb-255,255,255,255),0.32),
    0 9px 20px
    rgba(89, 43, 155, 0.27);
}

.ufy-phone-shirts-scan-button {
  border:
    1px solid
    rgba(92, 57, 143, 0.72);

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.13);

  color: #302044;
}


.ufy-phone-shirts-claim-button-icon {
  position: relative;

  width: 22px;
  height: 20px;

  display: inline-block;
  flex: 0 0 auto;
}

.ufy-phone-shirts-claim-button-icon::before {
  content: "";

  position: absolute;
  left: 3px;
  bottom: 1px;

  width: 16px;
  height: 12px;

  box-sizing: border-box;

  border:
    2px solid
    rgba(var(--ufy-rgb-255,255,255,255),0.96);

  border-radius: 3px;
}

.ufy-phone-shirts-claim-button-icon::after {
  content: "";

  position: absolute;
  left: 8px;
  top: 0;

  width: 6px;
  height: 7px;

  box-sizing: border-box;

  border:
    2px solid
    rgba(var(--ufy-rgb-255,255,255,255),0.96);

  border-bottom: 0;
  border-radius:
    6px 6px 0 0;
}

.ufy-phone-shirts-scan-icon {
  position: relative;

  width: 22px;
  height: 22px;

  display: inline-block;
  flex: 0 0 auto;

  color: #6c3bad;

  background:
    linear-gradient(
      currentColor 0 0
    )
    left top /
    8px 2px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    left top /
    2px 8px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    right top /
    8px 2px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    right top /
    2px 8px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    left bottom /
    8px 2px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    left bottom /
    2px 8px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    right bottom /
    8px 2px
    no-repeat,

    linear-gradient(
      currentColor 0 0
    )
    right bottom /
    2px 8px
    no-repeat;
}

.ufy-phone-shirts-scan-icon::after {
  content: "";

  position: absolute;
  inset: 7px;

  border:
    1.5px solid
    currentColor;

  border-radius: 2px;
}


.ufy-phone-shirts-primary-button:active,
.ufy-phone-shirts-scan-button:active,
.ufy-phone-shirts-dismiss-button:active {
  transform: scale(0.985);
}

.ufy-phone-shirts-primary-button:disabled {
  opacity: 0.60;
  cursor: default;
}

.ufy-phone-shirts-form-message:empty {
  display: none;
}

.ufy-phone-shirts-form-status {
  padding: 8px 10px;

  border-radius: 11px;

  background:
    rgba(var(--ufy-rgb-255,255,255,255),0.24);

  color:
    rgba(43, 34, 57, 0.76);

  font-size:calc(11px * var(--ufy-font-scale,1));
  line-height: 1.3;
}

.ufy-phone-shirts-form-status.is-success {
  background:
    rgba(43, 174, 91, 0.13);

  color: #237b3c;
}

.ufy-phone-shirts-form-status.is-error {
  background:
    rgba(217, 52, 81, 0.12);

  color: #a52d43;
}

.ufy-phone-shirts-form-status.is-info {
  background:
    rgba(107, 67, 174, 0.11);

  color: #653aa2;
}

.ufy-phone-shirts-dismiss-button {
  appearance: none;

  width: 100%;

  margin-top: 11px;
  padding: 5px 8px;

  border: 0;
  outline: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  background: transparent;

  color:
    rgba(47, 38, 60, 0.70);

  font: inherit;
  font-size:calc(12.5px * var(--ufy-font-scale,1));
  font-weight: 540;

  cursor: pointer;
}

.ufy-phone-shirts-dismiss-button::before,
.ufy-phone-shirts-dismiss-button::after {
  content: "";

  flex:
    1 1 auto;

  height: 1px;

  background:
    rgba(72, 53, 98, 0.24);
}

.ufy-phone-shirts-security {
  margin:
    11px
    0
    0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color:
    rgba(60, 47, 77, 0.64);

  font-size:calc(11px * var(--ufy-font-scale,1));
  font-weight: 530;
  line-height: 1.2;
}

.ufy-phone-shirts-security-icon {
  position: relative;

  width: 27px;
  height: 30px;

  display: inline-block;
  flex: 0 0 auto;

  border-radius:
    8px 8px 11px 11px;

  background:
    linear-gradient(
      145deg,
      #8b55d2,
      #6735ad
    );

  clip-path:
    polygon(
      50% 0,
      91% 18%,
      88% 68%,
      72% 88%,
      50% 100%,
      28% 88%,
      12% 68%,
      9% 18%
    );

  box-shadow:
    0 5px 12px
    rgba(93, 48, 157, 0.20);
}

.ufy-phone-shirts-security-icon::before {
  content: "";

  position: absolute;
  left: 9px;
  top: 7px;

  width: 9px;
  height: 9px;

  box-sizing: border-box;

  border:
    2px solid
    var(--ufy-tone-255,#fff);

  border-bottom: 0;
  border-radius:
    7px 7px 0 0;
}

.ufy-phone-shirts-security-icon::after {
  content: "";

  position: absolute;
  left: 7px;
  top: 14px;

  width: 13px;
  height: 10px;

  border-radius: 3px;

  background: var(--ufy-tone-255,#fff);
}

