:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ccfbf1;
  --primary-dark: #115e59;
  --secondary: #0284c7;
  --accent: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #14b8a6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary-light);
}

.btn-lang {
  background-color: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border);
  font-weight: 700;
}

.btn-lang:hover {
  background-color: #e2e8f0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0d9488 0%, #0369a1 100%);
  color: #ffffff;
  padding: 40px 20px 48px;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.welcome-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 14px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
}

/* Main Container */
.main-container {
  max-width: 900px;
  margin: -24px auto 40px;
  padding: 0 16px;
  flex: 1;
}

/* Clinic Medical Examinations & Services */
.clinic-services {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 22px;
}

.services-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.services-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.services-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px -2px rgba(13, 148, 136, 0.15);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.service-content {
  flex: 1;
}

.service-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Mandatory 30-min Early Arrival Alert */
.alert-arrival {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: #f59e0b; }
  50% { border-color: #d97706; }
}

.alert-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.alert-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 4px;
}

.alert-text {
  font-size: 0.92rem;
  color: #78350f;
  line-height: 1.5;
}

/* Booking Card */
.booking-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 30px;
}

/* Steps Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.step-item.active {
  color: var(--primary);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.step-item.active .step-num {
  background: var(--primary);
  color: #ffffff;
}

/* Sections */
.booking-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.selected-badge {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 6px;
}

/* Days Grid */
.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.day-chip {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-chip:hover:not(.disabled) {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.day-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.35);
}

.day-chip.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f1f5f9;
}

.day-chip-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.day-chip-date {
  font-size: 0.8rem;
  opacity: 0.85;
}

.day-chip-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

.day-chip.active .day-chip-status {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.day-chip.disabled .day-chip-status {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
}

/* Slots Grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.slot-chip {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
}

.slot-time {
  font-size: 0.95rem;
  font-weight: 700;
}

.slot-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none !important;
  background: #fee2e2;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.slot-chip:hover:not(.booked):not(.past) {
  border-color: var(--primary);
  background: var(--primary-light);
}

.slot-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.slot-chip.booked {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.8;
}

.slot-chip.booked .slot-time {
  text-decoration: line-through;
}

.slot-chip.past {
  opacity: 0.4;
  cursor: not-allowed;
}

.slot-arrival-hint {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.day-full-card {
  text-align: center;
  padding: 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b;
}

.full-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.gender-options {
  display: flex;
  gap: 16px;
  padding-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Optional Account Toggle */
.account-toggle-card {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-container input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.toggle-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.toggle-text small {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.account-fields {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

/* Clinic Info Card */
.clinic-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.info-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.info-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.4rem;
}

.info-item h4 {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.info-item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.info-footer {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.success-badge {
  width: 56px;
  height: 56px;
  background: var(--success);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Printable Ticket */
.ticket-card {
  background: #f8fafc;
  border: 2px dashed #0d9488;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.ticket-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.ticket-id {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
}

.ticket-label {
  color: var(--text-muted);
}

.highlight-slot {
  font-weight: 800;
  color: var(--secondary);
}

.arrival-row {
  background: #fef3c7;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.highlight-arrival {
  color: #b45309;
  font-weight: 800;
}

.ticket-footer {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 10px;
  text-align: center;
}

.ticket-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions button {
  flex: 1;
}

/* Lookup Modal */
.modal-head-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.lookup-input-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.lookup-results {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.lookup-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.lookup-item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.status-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Loading spinner */
.loading-state {
  text-align: center;
  padding: 24px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  margin-top: auto;
}

.footer-container p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 0.8rem;
  margin-top: 4px;
  opacity: 0.8;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-dl-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer-dl-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* App Download Navigation Button */
.btn-app-nav {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-app-nav:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
  transform: translateY(-1px);
}

/* App Download Banner */
.app-download-banner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-banner-icon {
  font-size: 2.6rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-banner-info {
  flex: 1;
}

.app-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #ffffff;
}

.app-banner-desc {
  font-size: 0.94rem;
  opacity: 0.95;
  line-height: 1.5;
  margin-bottom: 8px;
}

.app-banner-badge {
  display: inline-block;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.app-banner-action {
  flex-shrink: 0;
}

.btn-download-primary {
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-download-primary:hover {
  background: #f0fdfa;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .app-download-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .app-banner-icon {
    margin: 0 auto;
  }
  .btn-download-primary {
    width: 100%;
    justify-content: center;
  }
  .nav-app-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 62px;
    height: 62px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .days-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
  .steps-indicator {
    font-size: 0.78rem;
  }
  .step-label {
    display: none;
  }
  .modal-actions {
    flex-direction: column;
  }
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #printableTicket, #printableTicket * {
    visibility: visible;
  }
  #printableTicket {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 2px solid #000;
  }
}
