/* Estilos complementarios de operación real sobre la paleta aprobada de La Gran Chance */
.exp-checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.exp-checkout-form .exp-field-full {
  grid-column: 1 / -1;
}
.exp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #252735;
}
.exp-field input,
.exp-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dccad0;
  background: #fff;
  color: #182039;
  font: inherit;
  font-weight: 500;
}
.exp-field input:focus,
.exp-field select:focus {
  border-color: #bb132b;
  outline: 2px solid #bb132b28;
}
.exp-billing-box {
  margin: 8px 0 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed #dfb7c0;
  background: #fbf5f6;
}
.exp-billing-box legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9c1b31;
}
.exp-bank-box {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #141c36;
  color: #f3f5fa;
  border: 1px solid #ff859640;
}
.exp-bank-box small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4f500;
  font-weight: 700;
  margin-bottom: 6px;
}
.exp-bank-box p {
  color: #dce2f0 !important;
  margin: 3px 0;
  font-size: 13.5px;
}
.exp-upload-box {
  margin: 14px 0;
  padding: 15px;
  border-radius: 12px;
  border: 1.5px dashed #d396a2;
  background: #fdfafb;
}
.exp-upload-box label {
  display: block;
  font-weight: 700;
  color: #351319;
  margin-bottom: 6px;
  font-size: 14px;
}
.exp-upload-box input[type="file"] {
  width: 100%;
  font-size: 13px;
  margin: 8px 0 10px;
}
.exp-pill.status-paid {
  background: #e9f9d4;
  border-color: #b7df7c;
  color: #26530f;
}
.exp-pill.status-review {
  background: #fff4db;
  border-color: #f2cf88;
  color: #7c4d05;
}
.exp-pill.status-awaiting {
  background: #f4eff1;
  border-color: #dec9cf;
  color: #7d2534;
}
.exp-pill.status-rejected,
.exp-pill.status-refunded {
  background: #feecec;
  border-color: #f3b7b7;
  color: #8f1d28;
}
.exp-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.exp-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  background: #178042;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}
.exp-wa-btn:hover {
  background: #126835;
}
.verify-ticket-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .exp-checkout-form {
    grid-template-columns: 1fr;
  }
}

/* Imagen representativa dinámica en Hero, fichas de sorteo e Historial de Ganadores */
.hero-visual > img.custom-campaign-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.campaign-thumb-wrap {
  width: 100%;
  max-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #eadadf;
  background: #10182f;
}
.campaign-thumb-wrap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.dialog-campaign-photo {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin: 10px 0 14px;
  border: 1px solid #e6d8dc;
}
.winner-card-thumb {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #e8dcdf;
}
.winner-meta-dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf6f7;
  border: 1px solid #eadcdf;
}
.winner-meta-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
}
.winner-meta-dl dt {
  color: #7c666b;
  font-weight: 600;
}
.winner-meta-dl dd {
  margin: 0;
  font-weight: 700;
  color: #1c2035;
  text-align: right;
}
.winner-ticket-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #10182f;
  color: #d4f500 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}


/* LGCBot integrado en el Asistente de Compras (Portal Público) */
dialog.lgcbot-dialog {
  width: min(430px, calc(100vw - 24px));
  height: min(615px, calc(100dvh - 105px));
  max-height: calc(100dvh - 105px);
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #efb3bf;
  background: #f9f6f7;
}
dialog.lgcbot-dialog[open] {
  display: flex;
  flex-direction: column;
}
.lgcbot-head {
  position: relative !important;
  padding: 15px 16px !important;
  flex-shrink: 0;
  gap: 11px !important;
}
.lgcbot-head-copy {
  min-width: 0;
  flex: 1;
}
.lgcbot-dialog .lgcbot-head h2 {
  font-size: 15.5px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.2px !important;
  color: #ffffff !important;
}
.lgcbot-dialog .lgcbot-head p {
  font-size: 11px !important;
  margin: 3px 0 0 !important;
  line-height: 1.3 !important;
  color: #f3c8d2 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lgcbot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4f500;
  box-shadow: 0 0 8px #d4f500;
  display: inline-block;
}
.lgcbot-reset-top,
.lgcbot-close-top {
  margin: 0 !important;
  background: #ffffff1a !important;
  border: 1px solid #ffffff26 !important;
  color: #fff !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px !important;
  line-height: 1;
  padding: 0 !important;
  cursor: pointer;
}
.lgcbot-reset-top:hover,
.lgcbot-close-top:hover {
  background: #ffffff30 !important;
}
.lgcbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lgcbot-messages .purchase-bubble {
  margin-bottom: 0;
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 90%;
}
.lgcbot-bot-bubble {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #ead8dd;
}
.lgcbot-messages .purchase-user {
  align-self: flex-end;
  margin-left: auto;
  background: linear-gradient(125deg, #9d0e24, #c91d36);
  color: #ffffff !important;
  border-color: #a91128;
}
.lgcbot-messages .purchase-user small {
  color: #ffdce2 !important;
}
.lgcbot-bot-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a11329;
  margin-bottom: 3px;
}
.lgcbot-agent-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #161d34;
  background: #d4f500;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.lgcbot-msg-text {
  color: inherit;
  word-break: break-word;
}
.lgcbot-stage {
  padding: 6px 15px 8px;
  border-top: 1px solid #ebdadd;
  background: #fdfbfc;
  max-height: 235px;
  overflow-y: auto;
  flex-shrink: 0;
}
.lgcbot-stage:empty {
  display: none;
}
.lgcbot-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 7px;
}
.lgcbot-pack-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #e5c6cd;
  background: #fff;
  color: #251621;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.lgcbot-pack-btn:hover {
  border-color: #c21630;
  background: linear-gradient(145deg, #fff8f9, #f7fde4);
}
.lgcbot-pack-btn strong {
  font-size: 13px;
  color: #9e1228;
}
.lgcbot-pack-btn span {
  font-size: 10.5px;
  color: #6b585d;
}
.lgcbot-pack-btn em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  color: #2e550c;
  background: #eaf9cf;
  padding: 1px 6px;
  border-radius: 999px;
}
.lgcbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lgcbot-chips button,
.lgcbot-wa-chip {
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #e0bfc6;
  background: #fff;
  color: #98182d;
  cursor: pointer;
  text-decoration: none;
}
.lgcbot-chips button:hover,
.lgcbot-wa-chip:hover {
  background: #f8eff1;
}
.lgcbot-options {
  gap: 6px;
  margin-bottom: 6px;
}
.lgcbot-options button {
  padding: 9px 11px !important;
  font-size: 11.5px !important;
}
.lgcbot-confirm-card {
  background: #fff;
  border: 1px solid #e5c3cb;
  border-radius: 11px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.lgcbot-confirm-card small {
  display: block;
  font-size: 11px;
  color: #6f5d62;
  margin-top: 2px;
}
.lgcbot-primary-btn {
  margin: 8px 0 0 !important;
  padding: 11px 12px !important;
  font-size: 12px !important;
}
.lgcbot-bank-card {
  padding: 9px 11px;
  border-radius: 10px;
  background: #131b34;
  color: #eef2fa;
  margin-bottom: 7px;
}
.lgcbot-bank-card small {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d4f500;
  margin-bottom: 3px;
}
.lgcbot-bank-card p {
  color: #dce3f2 !important;
  font-size: 11px !important;
  margin: 2px 0 !important;
  line-height: 1.4 !important;
}
.lgcbot-upload-card {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1.5px dashed #d396a2;
  background: #fff;
  margin-bottom: 6px;
}
.lgcbot-upload-card label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #35151c;
  margin-bottom: 5px;
}
.lgcbot-upload-card input[type="file"] {
  width: 100%;
  font-size: 11px;
}
.lgcbot-wa-btn {
  padding: 10px !important;
  font-size: 11px !important;
}
.lgcbot-composer {
  display: flex;
  gap: 8px;
  padding: 10px 14px 12px;
  background: #ffffff;
  border-top: 1px solid #e6d4d8;
  flex-shrink: 0;
}
.lgcbot-composer input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid #dbb8c0;
  font: inherit;
  font-size: 12.5px;
  color: #1f1722;
  background: #fcf9fa;
}
.lgcbot-composer input:focus {
  border-color: #b8142c;
  outline: 2px solid #b8142c24;
  background: #fff;
}
.lgcbot-composer button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(125deg, #a50d23, #d12039);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
}
@media (max-width: 640px) {
  dialog.lgcbot-dialog {
    inset: auto 12px 76px 12px;
    width: auto;
    height: min(560px, calc(100dvh - 92px));
  }
}


/* Tarjetas de enlaces personales de ruleta.lagranchance.com.py en Mis boletas */
.exp-personal-links {
  margin-bottom: 32px;
  padding: 20px 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff9fa, #fdfbec);
  border: 1px solid #ead2d8;
}
.exp-personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.exp-personal-card {
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e6d4d9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exp-personal-card strong {
  display: block;
  font-size: 14px;
  color: #8f1227;
}
.exp-personal-card small {
  font-size: 11.5px;
  color: #6b5e62;
}
.exp-personal-card .exp-pill {
  align-self: flex-start;
}
.exp-personal-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.exp-personal-actions .button {
  min-height: 40px;
  font-size: 11px;
  padding: 9px 14px;
}
