/* Base Styles */
:root {
  --primary-red: #D62828;
  --primary-green: #538D22;
  --accent-yellow: #FCBF49;
  --dark: #003049;
  --light: #F8F9FA;
  --gray-light: #E9ECEF;
  --gray: #CED4DA;
  --gray-dark: #6C757D;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --sold-out-orange: #FF8C42;
  --sold-out-light: #FFF4E6;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.main-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #000;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.header {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin-top: 20px;
}

.container {
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0px 20px 0px 20px;
}

/* Form Styles */
.form-container {
  background-color: rgba(255, 255, 255, 0);
  border-radius: 8px;
  padding: 0px 10px;
  width: 100%;
  transition: var(--transition);
}

/* Sold Out Message Styles */
.sold-out-message {
  text-align: center;
  padding: 20px 10px;
  width: 100%;
}

.sold-out-message h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sold-out-banner {
  background: linear-gradient(135deg, var(--sold-out-light) 0%, #FFE4CC 100%);
  border: 3px solid var(--sold-out-orange);
  border-radius: 15px;
  padding: 25px 20px;
  margin: 20px 0;
  box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

.sold-out-banner h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--sold-out-orange);
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sold-out-banner p {
  color: #8B4513;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 500;
}

.sold-out-banner p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--sold-out-orange);
}

/* Success Message Styles */
.success-message {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  margin-bottom: 20px;
}

.success-message h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.success-message p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.success-message .submit-btn {
  margin-top: 15px;
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  max-width: 250px;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.event-date {
  text-align: center;
  color: #000;
  margin-bottom: 25px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

input, select {
  width: 100%;
  padding: 12px;
  border: 2px solid #000;
  border-radius: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fff;
}

input:focus, select:focus {
  outline: none;
  border-color: #000;
  box-shadow: none;
}

input:hover, select:hover {
  border-color: #000;
}

.disabled-option {
  text-decoration: line-through;
  color: #999;
  background-color: #f5f5f5;
}

.error-message {
  color: var(--primary-red);
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  min-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn {
  background-color: #000;
  color: white;
  border: 2px solid #000;
  border-radius: 0;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.submit-btn:hover {
  background-color: #fff;
  color: #000;
}

.submit-btn:active {
  transform: translateY(2px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #000;
  color: white;
  padding: 15px 25px;
  border-radius: 0;
  border: 2px solid #000;
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
  visibility: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.toast.error {
  background-color: var(--primary-red);
}

footer {
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 10px 0 15px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-container {
    width: 95%;
  }
  
  .container {
    padding: 20px 0;
  }

  .form-container {
    padding: 20px;
    margin: 10px 0;
  }
  
  .header {
    margin-bottom: 15px;
  }
  
  .footer-img {
    margin-top: 15px;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .sold-out-message h2 {
    font-size: 1.5rem;
  }
  
  .sold-out-banner h3 {
    font-size: 1.5rem;
  }
  
  .sold-out-banner p {
    font-size: 1rem;
  }
  
  input, select, .submit-btn {
    padding: 10px;
  }

  footer {
    padding: 8px 0 12px;
  }
}

@media (max-width: 480px) {
  .main-container {
    width: 90%;
  }
  
  .container {
    padding: 15px 0;
  }
  
  .form-container {
    padding: 15px;
    margin: 5px 0 10px 0;
  }
  
  .header {
    margin-bottom: 10px;
  }
  
  .footer-img {
    margin-top: 10px;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .sold-out-message h2 {
    font-size: 1.3rem;
  }
  
  .sold-out-banner {
    padding: 20px 15px;
  }
  
  .sold-out-banner h3 {
    font-size: 1.3rem;
  }
  
  .sold-out-banner p {
    font-size: 0.95rem;
  }

  footer {
    padding: 5px 0 10px;
  }
  
  .toast {
    width: 90%;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}