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

/* Base styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main container styles */
main.container {
  font-family: 'Roboto', sans-serif;
  margin: 7em 0 7em 0;
  background-color: white;
  width: var(--content-width);
  justify-self: center;
}

/* Card styles */
.login-card,
.forgot-password-card,
.register-card {
  background: white;
  padding: 2.5rem;
  margin-top: 2rem;
}

.login-card h1,
.forgot-password-card h1,
.register-card h1 {
  margin-bottom: 0.75rem;
  text-align: center;
  color: #000000;
  font-size: 2rem;
  font-weight: 700;
}

.login-card p,
.forgot-password-card p,
.register-card p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Link styles */
.forgot-password-link,
.back-to-login-link,
.register-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--link-text-color);
  transition: color 0.2s ease;
}

.forgot-password-link:hover,
.back-to-login-link:hover,
.register-link:hover {
  color: var(--link-text-color);
  text-decoration: underline;
}

.register-link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
}

/* Notice box styles */
.personal-data-notice {
  background-color: #f0f8e6;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
}

.personal-data-notice h3 {
  color: #000000;
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.personal-data-notice p {
  color: #666666;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Utility classes */
.hidden {
  display: none !important;
}



.status-message {
  padding: 1rem;
  margin: 1rem 0;
  font-weight: 500;
}

.status-message.error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.status-message.pending {
  background-color: #000000;
  color: #ffffff;
}

.status-message.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.current-ticket-info {
  background-color: #f8f9fa;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.current-ticket-info h4 {
  color: #2c3e50;
  margin: 0 1rem 1rem 1rem;
  font-size: 1.2rem;
}

.current-ticket-info p {
  color: #34495e;
  margin: 0.5rem 0;
  font-size: 1rem;
}


h1[data-i18n="TICKET_PURCHASE"] {
  text-align: center;
  background-color: #f0f8e6;
  padding: 1rem;
  margin: 0;
  width: 100%;
  color: #000000;
}

h2[data-i18n="CURRENT_PURCHASE_STATUS"],
h2[data-i18n="AVAILABLE_TICKETS"] {
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem 0;
}

/* Brand and logo styles */
.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #000000;
  transition: transform 0.3s ease;
}

/* Enhance form elements */
input, select, textarea {
  background-color: white;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

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

input:focus, select:focus, textarea:focus {
  border-color: #8ff620;
  box-shadow: 0 0 0 3px rgba(143, 246, 32, 0.1);
  outline: none;
}

button {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  background: #000000;
  border: none;
  color: var(--link-text-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.buy-button:hover {
  background-color: #1a1a1a;
  filter: brightness(1.05);
}

#cancelLogin {
  background-color: #000000;
  color: var(--link-text-color);
  display: none;
}

#cancelLogin:hover {
  background-color: #1a1a1a;
  filter: brightness(1.05);
}

.login-error {
  display: none;
}

/* Waitlist Button and Modal Styles */
.waitlist-btn {
  display: block;
  width: 100%;
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #000000;
  color: var(--link-text-color);
  border: none;
  cursor: pointer;
  margin: 2rem 0;
  transition: all 0.3s ease;
  text-align: center; 
}

.waitlist-btn:hover {
  background-color: #1a1a1a;
  filter: brightness(1.05);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 4rem auto;
  padding: 1.25rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-content form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-content h2 {
  margin-bottom: 0.75rem;
  color: #2c3e50;
  text-align: center;
  font-size: 1.25rem;
}

.waitlist-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin: 0.75rem 0;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.2rem;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  height: 2.25rem;
}

.form-group small {
  display: block;
  margin-top: 0.2rem;
  color: #666;
  font-size: 0.75rem;
}

.modal-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.modal-buttons button {
  flex: 1;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-buttons button span {
  position: relative;
  z-index: 1;
}

.modal-buttons button .loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--link-text-color);
  transition: width 0.1s linear;
  z-index: 0;
}

.primary-btn {
  background-color: #000000;
  color: var(--link-text-color);
  border: none;
}

.primary-btn:hover {
  background-color: #1a1a1a;
  filter: brightness(1.05);
}

.secondary-btn {
  background-color: #000000;
  color: var(--link-text-color);  
}

.secondary-btn:hover {
  background-color: #1a1a1a;
  filter: brightness(1.05);
}

#addToWaitlistContainer {
  margin: 2.5rem 0 1.5rem 0;
  text-align: center;
}

.waitlist-message-container {
  margin: 2.5rem 0 1.5rem 0;
  text-align: center;
}

.modal ::-webkit-scrollbar {
  display: block;
  width: 10px;
}

.modal ::-webkit-scrollbar-track {
  background: #8ff620;
}

.modal ::-webkit-scrollbar-thumb {
  background: #e23d96;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

input:focus {
    outline: none;
    border-color: #007bff;
}

/* Mobile-specific input styles */
@media (max-width: 798px) {
    input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px; /* Slightly larger touch target */
    }

    input:focus {
        box-shadow: none; /* Remove focus shadow on mobile */
    }
}

a.navbar-link {
  text-transform: uppercase;
}

a.navbar-link.active {
  font-weight: 700;
}