/* Pagina Mi cuenta ([ticket506_cuenta]) */
.t506-account {
  --t506-accent: #d9a441;
  --t506-accent-ink: #1a1204;
  --t506-text: #1c1c1c;
  --t506-muted: #6b6b6b;
  --t506-line: #e5e5e5;
  --t506-surface: #fff;
  --t506-soft: #f7f6f3;
  max-width: 640px;
  margin: 0 auto;
  color: var(--t506-text);
  font-size: 16px;
}

.t506-card {
  padding: 28px 24px;
  border: 1px solid var(--t506-line);
  border-radius: 14px;
  background: var(--t506-surface);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}

.t506-account .t506-card__title,
.t506-account .t506-head__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  text-align: left;
}

.t506-card__lead {
  margin: 0 0 22px;
  color: var(--t506-muted);
  line-height: 1.5;
}

.t506-social { margin-bottom: 4px; }

.t506-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--t506-muted);
  font-size: 14px;
}

.t506-divider::before,
.t506-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--t506-line);
}

.t506-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.t506-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  font-size: 16px;
}

.t506-form input[type="email"]:focus {
  outline: 2px solid var(--t506-accent);
  outline-offset: 1px;
  border-color: var(--t506-accent);
}

.t506-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.t506-btn {
  display: inline-block;
  padding: 13px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--t506-accent);
  color: var(--t506-accent-ink) !important;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter .2s;
}

.t506-btn:hover { filter: brightness(1.08); }

.t506-form .t506-btn {
  width: 100%;
  margin-top: 14px;
}

.t506-btn--sm {
  padding: 7px 14px;
  font-size: 14px;
  border-radius: 8px;
}

.t506-hint {
  margin: 12px 0 0;
  color: var(--t506-muted);
  font-size: 14px;
  text-align: center;
}

.t506-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.t506-notice--ok { background: #ecf7ee; color: #1d5b2a; }
.t506-notice--warn { background: #fdf5e4; color: #6e4b07; }
.t506-notice--error { background: #fdecea; color: #8a1c13; }

/* Sesion iniciada */
.t506-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.t506-head__email {
  margin: 0;
  color: var(--t506-muted);
  overflow-wrap: anywhere;
}

.t506-link {
  color: var(--t506-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.t506-account .t506-section {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}

.t506-empty { text-align: center; }

.t506-order {
  margin-bottom: 16px;
  border: 1px solid var(--t506-line);
  border-radius: 14px;
  background: var(--t506-surface);
  overflow: hidden;
}

.t506-order__head,
.t506-order__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
}

.t506-order__head {
  border-bottom: 1px solid var(--t506-line);
  background: var(--t506-soft);
}

.t506-order__head > div {
  display: flex;
  flex-direction: column;
}

.t506-order__id { font-weight: 700; }

.t506-order__date,
.t506-order__foot {
  color: var(--t506-muted);
  font-size: 14px;
}

.t506-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.t506-status--paid { background: #e3f4e6; color: #1d5b2a; }
.t506-status--pending { background: #fdf2dc; color: #6e4b07; }
.t506-status--cancelled { background: #eee; color: #555; }

.t506-event {
  padding: 14px 18px;
  border-bottom: 1px solid var(--t506-line);
}

.t506-event__info {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.t506-event__info span {
  color: var(--t506-muted);
  font-size: 14px;
}

.t506-tickets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.t506-tickets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--t506-line);
}

.t506-tickets__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.t506-order__note {
  margin: 0;
  padding: 0 18px 16px;
  color: #6e4b07;
  font-size: 14px;
}

/* Botones de Google/Facebook (Nextend) a todo el ancho */
.t506-social .nsl-container .nsl-container-buttons { display: flex !important; flex-direction: column; gap: 8px; width: 100%; }
.t506-social .nsl-container-buttons a { display: block; width: 100%; max-width: none !important; margin: 0 !important; }
.t506-social .nsl-button { width: 100%; max-width: none !important; justify-content: center; border-radius: 10px !important; }

/* Carrito: franja compacta para llenar datos con Google/Facebook */
.t506-checkout-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid #ece6d8;
  border-radius: 12px;
  background: #faf7f0;
  font-size: 14px;
  color: #4a4a4a;
}
.t506-checkout-login__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.t506-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #ddd6c6;
  border-radius: 999px;
  background: #fff;
  color: #1c1c1c !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color .2s, box-shadow .2s;
}
.t506-pill:hover { border-color: #d9a441; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.t506-pill svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 480px) {
  .t506-checkout-login__buttons { width: 100%; }
  .t506-pill { flex: 1; justify-content: center; }
}
.t506-checkout-login--in {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #faf7f0;
  color: #3a3a3a;
}
.t506-checkout-login--in a { margin-left: 6px; color: #8a6418; text-decoration: underline; }
