/* ===============================
   Contact US Page 
   =============================== */

a {
    color: white;
}

#contactRequest {
    padding-bottom: 1em;
}

#divContact table {
    margin: auto;
}

#divContact table tr > td {
    padding-bottom: 1em;
}

#txtMoreInfo {
    height: 100px;
    width: 350px;
}


/* ===============================
   Thank You Page 
   =============================== */

/* Layout wrapper with local background (not body) */
#thankyou .ty-wrap{
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

/* Card */
#thankyou .ty-card{
  width: min(760px, 94vw);
  padding: 2.25rem 2.25rem 1.75rem;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: rgba(17, 20, 28, 0.70);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  animation: ty-fade .5s ease-out both;
}

/* Success icon */
#thankyou .ty-check{
  width: 70px; height: 70px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.2rem; font-weight: 700;
  color:#4caf50;
  border: 2px solid rgba(76,175,80,.35);
  background: linear-gradient(180deg, rgba(76,175,80,.18), rgba(76,175,80,.12));
}

/* Headings & text */
#thankyou .ty-title{
  margin: .25rem 0 .35rem;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: .2px;
}
#thankyou .ty-lead{
  margin: 0 0 1.25rem;
  opacity: .85;
  font-size: 1.05rem;
}
#thankyou .ty-note{
  margin: .25rem 0 1.2rem;
  opacity: .9;
}

/* Ticket row */
#thankyou .ty-ticket{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .6rem .65rem;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}
#thankyou .ty-label{ font-weight: 600; opacity: .9; white-space: nowrap; }

#thankyou .ty-id{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: .6px;
  padding: .55rem .75rem;
  border-radius: 8px;
  display: block;
  text-align: center;
  user-select: text; /* allow manual selection */
  background: rgba(255, 255, 255, 0.08); /* lighter so text pops */
  color: #fff;                            /* ensure white text */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Copy button */
#thankyou .ty-copy{
  appearance: none;
  border: 1px solid rgba(76,175,80,.35);
  border-radius: 10px;
  background: #3aa34a;
  color: #fff;
  font-weight: 700;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
}
#thankyou .ty-copy:hover{ filter: brightness(1.08); }
#thankyou .ty-copy:active{ transform: translateY(1px); }
#thankyou .ty-copy:focus-visible{ outline: 2px solid #9ee2a2; outline-offset: 2px; }
#thankyou .ty-copy[data-copied="1"]{ background:#2e7d32; }

/* Actions */
#thankyou .ty-actions{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .85rem;
  justify-content: center;
  margin-top: 1.1rem;
}
#thankyou .ty-btn,
#thankyou .ty-link{
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: .9rem 1.15rem;
  border-radius: 12px;
}
#thankyou .ty-btn{
  background:#4caf50; color:#fff; text-align:center;
  transition: filter .2s ease, transform .06s ease;
}
#thankyou .ty-btn:hover{ filter: brightness(1.06); }
#thankyou .ty-btn:active{ transform: translateY(1px); }

#thankyou .ty-link{
  color:#9ecbff; background: transparent;
  border:1px solid rgba(158,203,255,0.35);
}

/* Visually hidden utility */
#thankyou .sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Animations & media */
@keyframes ty-fade{
  from{ opacity:0; transform: translateY(-6px); }
  to{ opacity:1; transform: translateY(0); }
}
@media (max-width:560px){
  #thankyou .ty-card{ padding: 1.5rem 1.25rem 1.25rem; }
  #thankyou .ty-actions{ grid-template-columns:1fr; }
  #thankyou .ty-ticket{ grid-template-columns: 1fr; row-gap: .5rem; }
  #thankyou .ty-id{ font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce){
  #thankyou .ty-card{ animation:none; }
  #thankyou .ty-btn, #thankyou .ty-copy{ transition:none; }
}


/* ===============================
   Error Page 
   =============================== */

#ticket-error .err-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

#ticket-error .err-card {
  width: min(760px, 94vw);
  padding: 2.25rem 2.25rem 1.75rem;
  border-radius: 18px;
  text-align: center;
  color: #fff;
  background: rgba(28, 20, 20, 0.8); /* reddish dark background */
  border: 1px solid rgba(255, 120, 120, 0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  animation: fadeIn .5s ease-out both;
}

#ticket-error .err-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#ticket-error .err-title {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  margin-bottom: .5rem;
}

#ticket-error .err-lead {
  opacity: .85;
  margin-bottom: 1rem;
}

#ticket-error .err-note {
  margin-bottom: 1.5rem;
}

#ticket-error .err-note a {
  color: #ffaaaa;
  text-decoration: underline;
}

#ticket-error .err-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .85rem;
  justify-content: center;
}

#ticket-error .err-btn,
#ticket-error .err-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: .9rem 1.15rem;
  border-radius: 12px;
}

#ticket-error .err-btn {
  background: #e53935;
  color: #fff;
  transition: filter .2s ease, transform .06s ease;
}
#ticket-error .err-btn:hover { filter: brightness(1.06); }
#ticket-error .err-btn:active { transform: translateY(1px); }

#ticket-error .err-link {
  color: #ffaaaa;
  background: transparent;
  border: 1px solid rgba(255, 120, 120, 0.35);
}

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

@media (max-width: 560px) {
  #ticket-error .err-actions {
    grid-template-columns: 1fr;
  }
}

