/* ============================================
   FIND MY TICKET PAGE STYLES
   Add to sdvp.css
   ============================================ */

/* Find Ticket Form Page */
.find-ticket-section {
  max-width: 650px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  animation: fadeInUp 0.6s ease-out;
}

.find-ticket-container {
  background: #1f6473;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.find-ticket-container::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 181, 19, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.find-ticket-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.find-ticket-header .ticket-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  animation: iconFloat 3s ease-in-out infinite;
}

.find-ticket-header h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.find-ticket-intro {
  margin-top: 20px;
}

.intro-question {
  font-size: 1.2rem;
  color: #ffc93d;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.intro-answer {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin: 0;
  font-weight: 300;
}

/* Find Input Fields */
.find-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 181, 19, 0.3);
  border-radius: 12px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.find-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.find-input:focus {
  outline: none;
  border-color: #ffb513;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 181, 19, 0.2);
}

.security-code-input {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 8px;
  font-family: 'Oswald', monospace;
}

.security-code-input::placeholder {
  letter-spacing: 8px;
}

/* Form Groups - Add spacing */
.find-ticket-section .form-group {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.find-ticket-section .form-label {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.find-ticket-section .input-help {
  display: block;
  font-size: 0.85rem;
  color: #b8b8b8;
  margin-top: 8px;
  font-style: italic;
}

.find-ticket-section .input-error {
  display: block;
  font-size: 0.9rem;
  color: #ff6b6b;
  margin-top: 8px;
  font-weight: 500;
  min-height: 20px;
}

/* Input validation states */
.find-ticket-section .input-valid {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.find-ticket-section .input-invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Primary Button - Find My Ticket */
.find-ticket-section .btn-primary {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #ffb513 0%, #ff9f1c 100%);
  border: none;
  border-radius: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0d2c33;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(255, 181, 19, 0.4);
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  z-index: 1;
}

.find-ticket-section .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.find-ticket-section .btn-primary:hover::before {
  left: 100%;
}

.find-ticket-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 181, 19, 0.6);
}

.find-ticket-section .btn-primary:active {
  transform: translateY(-1px);
}

.find-ticket-section .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.find-ticket-section .btn-primary.btn-loading .btn-text::after {
  content: "...";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Help Links */
.help-links {
  margin-top: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.help-links p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #e0e0e0;
}

.help-links a {
  color: #ffc93d;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.help-links a:hover {
  color: #ffed4e;
}

/* Security Notice - Find Ticket Page */
.find-ticket-section .security-notice {
  margin-top: 30px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.find-ticket-section .security-icon {
  width: 20px;
  height: 20px;
  color: #4ade80;
  flex-shrink: 0;
}

.find-ticket-section .security-notice p {
  margin: 0;
  font-size: 0.85rem;
  color: #b8b8b8;
  font-style: italic;
}

/* Button Icons - Find Ticket Page */
.find-ticket-section .btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.find-ticket-section .btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   TICKET RESULTS PAGE STYLES
   ============================================ */

.ticket-results-section {
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  animation: fadeInUp 0.6s ease-out;
}

.ticket-results-container {
  background: #1f6473;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Success Icon */
.success-icon-wrapper {
  margin-bottom: 30px;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.success-icon {
  width: 100px;
  height: 100px;
  color: #4ade80;
  filter: drop-shadow(0 4px 15px rgba(74, 222, 128, 0.4));
}

.results-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: #4ade80;
  margin: 0 0 15px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.results-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 30px 0;
  font-weight: 400;
}

/* Email Display */
.email-display {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 181, 19, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 0 auto 40px;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.email-icon {
  width: 24px;
  height: 24px;
  color: #ffb513;
  flex-shrink: 0;
}

.email-display span {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

/* Tickets List */
.tickets-list {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ticket-card {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 181, 19, 0.3);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
}

.ticket-card:hover {
  border-color: rgba(255, 181, 19, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ticket-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 181, 19, 0.2);
}

.ticket-card-icon {
  width: 28px;
  height: 28px;
  color: #ffb513;
}

.ticket-count {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffc93d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticket-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.ticket-info-row:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.95rem;
  color: #b8b8b8;
  font-weight: 500;
}

.info-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

.info-value.ticket-number {
  font-family: 'Oswald', monospace;
  font-size: 1.4rem;
  color: #ffb513;
  letter-spacing: 2px;
}

.info-value.ticket-type {
  color: #4ade80;
}

.info-value.ticket-expiry {
  font-size: 1rem;
  font-weight: 600;
}

.info-value.expiry-never {
  color: #4ade80; /* Green for never expires */
  text-transform: uppercase;
  font-weight: 700;
}

.info-value.expiry-date {
  color: #fbbf24; /* Yellow/gold for dates */
}

/* Results Actions */
.results-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn-results-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  padding: 18px 30px;
  background: linear-gradient(135deg, #ffb513 0%, #ff9f1c 100%);
  border: none;
  border-radius: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0d2c33;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 181, 19, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-results-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-results-primary:hover::before {
  left: 100%;
}

.btn-results-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 181, 19, 0.6);
}

.btn-results-primary:active {
  transform: translateY(-1px);
}

.btn-results-primary .btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-results-secondary {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  padding: 14px 30px;
  background: rgba(255, 181, 19, 0.15);
  border: 2px solid rgba(255, 181, 19, 0.4);
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ffb513;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-results-secondary:hover {
  background: rgba(255, 181, 19, 0.25);
  border-color: #ffb513;
  color: #ffc93d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 181, 19, 0.3);
}

/* Help Notice - Results Page */
.ticket-results-section .help-notice {
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ticket-results-section .help-icon {
  width: 24px;
  height: 24px;
  color: #60a5fa;
  flex-shrink: 0;
}

.ticket-results-section .help-notice p {
  margin: 0;
  font-size: 0.95rem;
  color: #e0e0e0;
}

/* ============================================
   NOT FOUND PAGE STYLES
   ============================================ */

.ticket-notfound-section {
  max-width: 750px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  animation: fadeInUp 0.6s ease-out;
}

.ticket-notfound-container {
  background: #1f6473;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.warning-icon-wrapper {
  margin-bottom: 30px;
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.warning-icon {
  width: 100px;
  height: 100px;
  color: #fbbf24;
  filter: drop-shadow(0 4px 15px rgba(251, 191, 36, 0.4));
}

.notfound-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: #ffc93d;
  margin: 0 0 15px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.notfound-message {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 30px 0;
  font-weight: 400;
}

.search-info {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin: 0 0 30px 0;
}

.search-info p {
  margin: 0;
  color: #e0e0e0;
  font-size: 1rem;
}

.search-info strong {
  color: #ffb513;
  word-break: break-word;
}

.reasons-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
  text-align: left;
}

.reasons-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.reasons-box ul {
  margin: 0;
  padding-left: 25px;
  list-style: disc;
}

.reasons-box li {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.reasons-box li:last-child {
  margin-bottom: 0;
}

.notfound-actions {
  margin-top: 40px;
}

.btn-notfound-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 450px;
  padding: 18px 30px;
  background: linear-gradient(135deg, #ffb513 0%, #ff9f1c 100%);
  border: none;
  border-radius: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0d2c33;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 181, 19, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.btn-notfound-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-notfound-primary:hover::before {
  left: 100%;
}

.btn-notfound-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 181, 19, 0.6);
}

.btn-notfound-primary:active {
  transform: translateY(-1px);
}

.btn-notfound-primary .btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.notfound-secondary-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.btn-notfound-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 181, 19, 0.15);
  border: 2px solid rgba(255, 181, 19, 0.4);
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffb513;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-notfound-secondary:hover {
  background: rgba(255, 181, 19, 0.25);
  border-color: #ffb513;
  color: #ffc93d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 181, 19, 0.3);
}

.btn-notfound-secondary .btn-icon-small {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Help Notice - Not Found Page */
.ticket-notfound-section .help-notice {
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ticket-notfound-section .help-icon {
  width: 24px;
  height: 24px;
  color: #60a5fa;
  flex-shrink: 0;
}

.ticket-notfound-section .help-notice p {
  margin: 0;
  font-size: 0.95rem;
  color: #e0e0e0;
}

.ticket-notfound-section .help-notice a {
  color: #ffc93d;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.ticket-notfound-section .help-notice a:hover {
  color: #ffed4e;
}

.btn-icon-small {
  width: 18px;
  height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .find-ticket-container,
  .ticket-results-container,
  .ticket-notfound-container {
    padding: 40px 30px;
  }

  .find-ticket-header h1,
  .results-title,
  .notfound-title {
    font-size: 2rem;
  }

  .ticket-card {
    padding: 20px;
  }

  .ticket-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .notfound-secondary-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .find-ticket-container,
  .ticket-results-container,
  .ticket-notfound-container {
    padding: 30px 20px;
  }

  .find-ticket-header h1,
  .results-title,
  .notfound-title {
    font-size: 1.6rem;
  }

  .security-code-input {
    font-size: 1.5rem;
    letter-spacing: 6px;
  }

  .btn-notfound-primary {
    font-size: 1rem;
  }
}
