@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --tp-green: #217b3d;
  --tp-green-light: #2ea45a;
  --tp-green-deep: #16382d;
  --tp-dark: #15352b;
  --tp-bg: #eef7f1;
  --tp-text: #10291f;
  --tp-muted: #4b6659;
  --tp-border: rgba(33, 123, 61, 0.18);
  --tp-gold: #c8a55a;
  --tp-blue: #1f93ed;
  --tp-disabled: #9aa6a0;
  --tp-shadow-soft: 0 18px 42px rgba(21, 53, 43, 0.08);
  --tp-shadow-card: 0 22px 54px rgba(21, 53, 43, 0.1);
}

.tp-events-grid,
.tp-checkout-shell,
.tp-my-tickets,
.tp-event-details {
  font-family: 'Poppins', sans-serif;
}

.tp-events-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 18px;
}

.tp-event-card {
  display: grid;
  grid-template-columns: minmax(160px, 38%) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 252, 250, 0.98) 100%);
  border: 1.5px solid var(--tp-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--tp-shadow-soft);
}

.tp-event-card:not(.has-media) {
  grid-template-columns: 1fr;
}

.tp-event-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(200, 165, 90, 0.12), transparent 30%),
    linear-gradient(135deg, #eef7f1 0%, #dfeee5 100%);
  border: 1px solid rgba(33, 123, 61, 0.12);
  min-height: 220px;
}

.tp-event-cover {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
}

.tp-event-content {
  min-width: 0;
}

.tp-event-content > *:first-child {
  margin-top: 0;
}

.tp-event-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  color: var(--tp-dark);
  line-height: 1.18;
}

.tp-event-card p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  color: var(--tp-muted);
  line-height: 1.7;
}

.tp-event-description {
  margin: 0 0 10px;
  color: var(--tp-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.tp-event-description p {
  margin: 0 0 8px;
}

.tp-event-description p:last-child {
  margin-bottom: 0;
}

.tp-event-meta {
  font-size: 0.9rem;
  margin-top: 6px;
  color: var(--tp-text);
}

.tp-event-link {
  margin-top: 12px;
}

.tp-event-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--tp-green);
  font-weight: 700;
  text-decoration: none;
}

.tp-event-link a:hover {
  background: #e4f1e8;
}

.tp-event-link a::after {
  content: "->";
}

.tp-event-details {
  border: 1.5px solid var(--tp-border);
  padding: 20px;
  border-radius: 18px;
  background: #fff;
}

.tp-event-details h2 {
  margin: 0 0 10px;
  color: var(--tp-dark);
}

.tp-event-details h3 {
  margin: 18px 0 10px;
  color: var(--tp-dark);
}

.tp-lot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.tp-lot-list li {
  border: 1px solid #d8e2db;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: #fff;
  font-size: 0.92rem;
}

.tp-checkout-shell {
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 250, 0.98) 100%);
  border: 1.5px solid var(--tp-border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--tp-shadow-card);
}

.tp-checkout-tabs {
  counter-reset: ticket-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.tp-checkout-tab {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  border: 1.5px solid #d6e3db;
  border-radius: 18px;
  padding: 16px 18px 16px 68px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
  color: var(--tp-dark);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
}

.tp-checkout-tab::before {
  counter-increment: ticket-step;
  content: counter(ticket-step);
  position: absolute;
  left: 18px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ebf4ee;
  color: var(--tp-green);
  font-size: 0.96rem;
  font-weight: 800;
}

.tp-checkout-tab:hover {
  border-color: #9cc8ad;
  transform: translateY(-1px);
}

.tp-checkout-tab.is-active {
  border-color: var(--tp-green);
  background: linear-gradient(135deg, rgba(46, 164, 90, 0.12), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 28px rgba(33, 123, 61, 0.12);
}

.tp-checkout-tab.is-active::before {
  background: var(--tp-green);
  color: #fff;
}

.tp-checkout-stage {
  display: none;
}

.tp-checkout-stage.is-active {
  display: block;
}

.tp-stage-card {
  border: 1px solid #dbe6df;
  border-radius: 22px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(46, 164, 90, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  box-shadow: 0 14px 32px rgba(21, 53, 43, 0.06);
}

.tp-stage-card h4 {
  margin: 0 0 10px;
  color: var(--tp-dark);
  font-size: 1.2rem;
}

.tp-stage-card > p {
  margin: 0 0 16px;
  color: #476257;
  line-height: 1.7;
}

.tp-checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-stage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tp-stage-btn {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
}

.tp-stage-btn-secondary {
  background: #edf4f0;
  color: var(--tp-dark);
  border: 1px solid #d6e3db;
}

.tp-shell-topbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.tp-shell-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 48px;
}

.tp-shell-hero {
  border-radius: 22px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(46, 164, 90, 0.14), transparent 28%),
    linear-gradient(135deg, #183b2f 0%, #17362c 58%, #10271f 100%);
  border: 1px solid rgba(33, 123, 61, 0.18);
  box-shadow: 0 24px 60px rgba(21, 53, 43, 0.16);
  margin-bottom: 10px;
}

.tp-shell-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tp-checkout-shell h3 {
  margin: 0;
  font-size: 1.58rem;
  color: #fff;
}

.tp-shell-event {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.tp-shell-meta {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tp-alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  border: 1px solid transparent;
}

.tp-alert-error {
  background: #fff1f1;
  color: #9b1c1c;
  border-color: #f9c7c7;
}

.tp-alert-success {
  background: #e8f8ee;
  color: #0b6b2c;
  border-color: #b8e6c8;
}

.tp-order-status {
  padding: 10px 12px;
  border: 1px solid #c9dfd1;
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.08), transparent 24%),
    #f2faf5;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.tp-order-pay-link {
  margin: -2px 0 14px;
}

.tp-order-pay-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 16px;
  background: #1f93ed;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.tp-order-pay-link a:hover {
  background: #177cc8;
}

.tp-result-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 29, 22, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.tp-result-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.tp-result-modal {
  font-family: "Poppins", "Segoe UI", sans-serif;
  width: min(100%, 460px);
  padding: 26px 24px 22px;
  border: 1px solid rgba(33, 123, 61, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 165, 90, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  box-shadow: 0 28px 80px rgba(11, 33, 24, 0.24);
  position: relative;
}

.tp-result-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  color: #486055;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.tp-result-modal__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.tp-result-modal__icon.is-success {
  background: rgba(46, 164, 90, 0.14);
  color: #217b3d;
}

.tp-result-modal__icon.is-error {
  background: rgba(198, 61, 61, 0.12);
  color: #b42318;
}

.tp-result-modal__icon.is-warning {
  background: rgba(210, 141, 36, 0.14);
  color: #b36b00;
}

.tp-result-modal__icon.is-pending {
  background: rgba(31, 147, 237, 0.12);
  color: #1f93ed;
}

.tp-result-modal__spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(31, 147, 237, 0.18);
  border-top-color: #1f93ed;
  border-radius: 999px;
  animation: tp-modal-spin 0.9s linear infinite;
}

.tp-result-modal__title {
  margin: 0 0 10px;
  text-align: center;
  color: var(--tp-dark);
  font-size: 1.22rem;
}

.tp-result-modal__msg {
  margin: 0;
  text-align: center;
  color: #486055;
  line-height: 1.65;
}

.tp-result-modal__details {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #486055;
  line-height: 1.6;
}

.tp-result-modal__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tp-result-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(33, 123, 61, 0.14);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.tp-result-modal__btn.is-primary {
  background: linear-gradient(180deg, #2ea45a 0%, #217b3d 100%);
  border-color: #217b3d;
  color: #fff;
}

.tp-result-modal__btn.is-secondary {
  background: linear-gradient(180deg, #2ea45a 0%, #217b3d 100%);
  border-color: #217b3d;
  color: #fff;
}

.tp-checkout-shell--success {
  display: block;
}

.tp-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 56px 32px;
  border: 1px solid rgba(47, 147, 72, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(244, 233, 205, 0.55), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  box-shadow: 0 22px 48px rgba(16, 53, 33, 0.12);
  text-align: center;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.tp-success-screen__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38ad5e 0%, #287f42 100%);
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(47, 147, 72, 0.24);
}

.tp-success-screen__eyebrow {
  color: #2f9348;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp-success-screen h2 {
  margin: 0;
  color: #163b2b;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.tp-success-screen p {
  max-width: 640px;
  margin: 0;
  color: #4d6759;
  font-size: 1rem;
  line-height: 1.7;
}

.tp-success-screen__actions {
  margin-top: 10px;
}

.tp-success-screen__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #37a457 0%, #287f42 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(47, 147, 72, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-success-screen__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(47, 147, 72, 0.28);
}

@keyframes tp-modal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tp-ticket-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tp-ticket-item {
  border: 1px solid #cfd8d3;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tp-ticket-item.is-hidden-ticket {
  display: none;
}

.tp-ticket-item.is-selected {
  border-color: var(--tp-green);
  box-shadow: 0 8px 20px rgba(33, 123, 61, 0.1);
}

.tp-ticket-item.is-disabled {
  opacity: 0.72;
}

.tp-ticket-item.is-group-contact {
  border-color: rgba(31, 147, 237, 0.35);
  background:
    radial-gradient(circle at top right, rgba(31, 147, 237, 0.12), transparent 45%),
    #ffffff;
}

.tp-ticket-copy h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #111f28;
}

.tp-ticket-price {
  margin: 4px 0 0;
  font-size: 1.42rem;
  font-weight: 700;
  color: #0f2118;
}

.tp-ticket-price.tp-ticket-price-contact {
  font-size: 1rem;
  font-weight: 700;
  color: #14568c;
}

.tp-ticket-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #1f93ed;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.tp-ticket-whatsapp:hover {
  background: #177cc8;
}

.tp-ticket-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #2d7e25;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: lowercase;
}

.tp-ticket-badge.is-muted {
  background: #8b9b93;
}

.tp-ticket-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-qty-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  font-size: 1.65rem;
  line-height: 1;
  color: #ffffff;
  background: #c3c9ce;
  cursor: pointer;
}

.tp-qty-btn.is-plus {
  background: var(--tp-blue);
}

.tp-qty-value {
  font-weight: 700;
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: #27363f;
}

.tp-ticket-status {
  font-style: italic;
  color: var(--tp-disabled);
  font-size: 0.95rem;
}

.tp-selection-footer {
  margin-top: 8px;
}

.tp-proceed-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  background: #20b167;
  color: #fff;
  font-size: 1.07rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.tp-proceed-btn:hover {
  background: #1ca05d;
}

.tp-proceed-btn.is-ready {
  box-shadow: 0 12px 24px rgba(32, 177, 103, 0.32);
}

.tp-proceed-btn:disabled {
  background: #9aa6a0;
  cursor: not-allowed;
  box-shadow: none;
}

.tp-selection-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 0.88rem;
}

.tp-selection-hint {
  margin: 8px 0 0;
  color: #365362;
  font-size: 0.88rem;
}

.tp-checkout-customer {
  margin-top: 18px;
  border: 1px solid #dbe6df;
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(46, 164, 90, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
  box-shadow: 0 14px 28px rgba(21, 53, 43, 0.05);
}

.tp-checkout-customer.is-hidden {
  display: none;
}

.tp-checkout-customer h4 {
  margin: 0 0 8px;
  color: var(--tp-dark);
  font-size: 1.1rem;
}

.tp-selected-summary {
  margin: 0 0 12px;
  font-size: 0.93rem;
  color: #44565f;
  font-weight: 600;
}

.tp-summary-empty {
  padding: 14px;
  border: 1px dashed #c9d7cf;
  border-radius: 12px;
  color: #64766d;
  background: rgba(243, 248, 245, 0.9);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.tp-summary-totals {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tp-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dfe8e2;
  border-radius: 12px;
  background: #fff;
  color: #32443c;
  font-size: 0.95rem;
}

.tp-summary-row strong {
  color: var(--tp-dark);
  font-size: 1.05rem;
}

.tp-student-alert {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #f3c97a;
  border-radius: 14px;
  background: #fff7e5;
  color: #8a5a00;
  font-size: 0.92rem;
  line-height: 1.6;
}

.tp-student-alert strong {
  color: #7a4c00;
}

.tp-checkout-form p {
  margin: 0 0 12px;
}

.tp-checkout-tab__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tp-dark);
}

.tp-checkout-tab__text {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--tp-muted);
}

.tp-stage-card-panel {
  padding: 20px;
}

.tp-stage-heading {
  margin-bottom: 18px;
}

.tp-stage-heading h4 {
  margin: 0 0 10px;
}

.tp-stage-heading p {
  margin: 0;
  color: var(--tp-muted);
  line-height: 1.7;
}

.tp-stage-form-card,
.tp-checkout-customer {
  border: 1px solid #dbe6df;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}

.tp-stage-form-card h5,
.tp-event-stage-copy h5 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--tp-dark);
}

.tp-stage-form-card > p {
  margin: 0 0 16px;
  color: var(--tp-muted);
}

.tp-coupon-stage-card {
  grid-column: 1 / 2;
}

.tp-coupon-field {
  display: grid;
  gap: 10px;
}

.tp-coupon-field label {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--tp-dark);
}

.tp-coupon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tp-coupon-row input {
  flex: 1 1 240px;
  min-width: 0;
}

.tp-coupon-row button {
  white-space: nowrap;
}

.tp-coupon-feedback {
  margin: 0;
  font-size: 0.84rem;
}

.tp-event-stage-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #dbe6df;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}

.tp-event-stage-media {
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7f1 0%, #dfeee5 100%);
  border: 1px solid rgba(33, 123, 61, 0.12);
}

.tp-event-stage-media-empty::before {
  content: "";
  display: block;
  width: 100%;
  min-height: 260px;
}

.tp-event-stage-image,
.tp-event-stage-media .tp-event-cover {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.tp-event-stage-meta {
  margin-top: 8px;
  color: var(--tp-text);
  line-height: 1.65;
}

.tp-event-stage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tp-checkout-field-grid p {
  margin: 0;
}

.tp-checkout-field-grid label {
  display: block;
  color: var(--tp-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.tp-checkout-field-grid input,
.tp-checkout-field-grid select,
.tp-checkout-field-grid textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(33, 123, 61, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--tp-text);
  font: inherit;
}

.tp-field-span-2 {
  grid-column: 1 / -1;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p {
  grid-column: span 2;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p.tp-field-span-1 {
  grid-column: span 1;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p.tp-field-span-2 {
  grid-column: 1 / -1;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_phone"] {
  grid-column: 1 / 3;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_whatsapp"] {
  grid-column: 3 / 5;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_address"] {
  grid-column: 1 / 4;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_number"] {
  grid-column: 4 / 5;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_city"] {
  grid-column: 1 / 3;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_state"] {
  grid-column: 3 / 4;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_country"] {
  grid-column: 4 / 5;
}

.tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p[data-tp-field="customer_notes"] {
  grid-column: 1 / -1;
}

.tp-stage-btn-primary,
.tp-stage-actions button[type="submit"] {
  background: linear-gradient(180deg, #2ea45a 0%, #217b3d 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(33, 123, 61, 0.18);
}

.tp-stage-actions-between {
  justify-content: space-between;
}

.tp-stage-note {
  margin: 0;
  color: var(--tp-muted);
}

.tp-checkout-form label {
  display: block;
  font-size: 0.9rem;
  color: #364750;
  font-weight: 600;
}

.tp-checkout-form input,
.tp-checkout-form select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cad6cf;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.tp-checkout-form input::placeholder,
.tp-checkout-form textarea::placeholder {
  color: #b8c2bd;
  opacity: 1;
}

.tp-checkout-form .is-invalid,
.tp-checkout-field-grid .is-invalid {
  border-color: #efb4b4;
  background: #fff6f6;
  box-shadow: 0 0 0 3px rgba(239, 180, 180, 0.18);
}

.tp-field-error-msg {
  display: block;
  margin-top: 8px;
  color: #d98282;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.tp-checkout-form button {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--tp-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
}

.tp-checkout-form button:hover {
  background: var(--tp-green-light);
}

.tp-checkout-form button:disabled {
  background: #9aa6a0;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 980px) {
  .tp-checkout-stage[data-tp-tab-panel="finalize"] .tp-checkout-customer {
    max-width: 460px;
  }
}

.tp-noscript-warning {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #ffe58f;
  background: #fffbe6;
  border-radius: 10px;
  font-size: 0.88rem;
}

.tp-my-tickets {
  margin-top: 22px;
  padding: 18px;
  border: 1.5px solid var(--tp-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
}

.tp-my-tickets h3 {
  margin: 0 0 10px;
  color: var(--tp-dark);
}

.tp-my-tickets-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.tp-my-tickets-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #364750;
}

.tp-my-tickets-form input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cad6cf;
  font-family: inherit;
}

.tp-my-tickets-form button {
  align-self: end;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--tp-green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.tp-ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.tp-ticket-card {
  border: 1px solid #d9e3dd;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}

.tp-ticket-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--tp-dark);
}

.tp-ticket-card p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: #33444d;
}

.tp-ticket-card img {
  width: 180px;
  height: 180px;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid #d5e0d9;
}

@media (max-width: 760px) {
  .tp-checkout-tabs,
  .tp-checkout-field-grid,
  .tp-my-tickets-form {
    grid-template-columns: 1fr;
  }

  .tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p,
  .tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p.tp-field-span-1,
  .tp-checkout-field-grid.tp-checkout-field-grid-enhanced > p.tp-field-span-2 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .tp-event-stage-card,
  .tp-event-card {
    grid-template-columns: 1fr;
  }

  .tp-event-media {
    min-height: 180px;
  }

  .tp-event-cover {
    min-height: 180px;
  }

  .tp-checkout-shell {
    padding: 16px;
  }

  .tp-ticket-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tp-ticket-controls {
    align-self: flex-end;
  }

  .tp-stage-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tp-stage-actions .tp-stage-btn,
  .tp-stage-actions button,
  .tp-proceed-btn {
    width: 100%;
  }

  .tp-my-tickets-form button {
    width: 100%;
  }
}
