/* Beta Request page specific styles */

.beta-container {
  min-height: 100vh;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
}

.beta-form-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 10rem 0 5rem;
}

.beta-content {
  width: 100%;
  text-align: center;
}

.beta-description {
  font-size: 1.3rem;
  color: #8892b0;
  margin: 1.5rem auto 3rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Form styles */
.beta-form {
  width: 100%;
  margin-bottom: 4rem;
}

.form-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.email-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(79, 111, 224, 0.3);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  margin-right: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: #4f6fe0;
  box-shadow: 0 0 0 2px rgba(79, 111, 224, 0.2);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-button {
  background-color: #4f6fe0;
  color: white;
  white-space: nowrap;
}

.form-disclaimer {
  font-size: 0.9rem;
  color: #8892b0;
  opacity: 0.7;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Feature highlights */
.beta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 300px;
  text-align: left;
}

.feature-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  background: linear-gradient(135deg, #1a1f29, #2a3040);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 111, 224, 0.3);
  flex-shrink: 0;
}

.feature-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.feature-text p {
  color: #8892b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Confirmation message */
.confirmation-message {
  text-align: center;
  padding: 3rem;
  background: rgba(26, 31, 41, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(79, 111, 224, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  font-size: 2.5rem;
  color: #4f6fe0;
  background: rgba(79, 111, 224, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid rgba(79, 111, 224, 0.3);
}

.confirmation-message h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.confirmation-message p {
  color: #8892b0;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.back-link {
  color: #4f6fe0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #fff;
}

/* Style select and textarea like .email-input */
select.email-input,
textarea.email-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(79, 111, 224, 0.3);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  margin-right: 0;
  margin-bottom: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
}

select.email-input:focus,
textarea.email-input:focus {
  outline: none;
  border-color: #4f6fe0;
  box-shadow: 0 0 0 2px rgba(79, 111, 224, 0.2);
}

/* Style the select dropdown itself */
select.email-input {
  background-color: rgba(255, 255, 255, 0.1); /* dark background */
  color: #fff;
  border: 1px solid rgba(79, 111, 224, 0.3);
  border-radius: 8px;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='16' height='16' fill='white' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

/* Style the dropdown options (supported in most modern browsers) */
select.email-input option {
  background-color: #23283a; /* match your form background */
  color: #fff;
}

/* For Firefox: style the dropdown list */
select.email-input:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #fff;
}

/* Remove outline on select for a cleaner look */
select.email-input:focus {
  outline: none;
  border-color: #4f6fe0;
  box-shadow: 0 0 0 2px rgba(79, 111, 224, 0.2);
}

/* Custom scrollbar for textarea */
textarea.email-input {
  min-height: 80px;
  max-height: 200px;
  resize: vertical;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4f6fe0 #23283a;
}

/* For Webkit browsers */
textarea.email-input::-webkit-scrollbar {
  width: 8px;
}
textarea.email-input::-webkit-scrollbar-thumb {
  background: #4f6fe0;
  border-radius: 4px;
}
textarea.email-input::-webkit-scrollbar-track {
  background: #23283a;
  border-radius: 4px;
}

/* Fix right padding for all inputs */
.email-input {
  padding-right: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
  
  .email-input {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .beta-features {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-item {
    max-width: 100%;
  }
}

.beta-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: rgba(40, 48, 70, 0.7);
  border-radius: 14px;
  box-shadow: 0 0 16px 0 rgba(79, 111, 224, 0.12), 0 2px 8px 0 rgba(0,0,0,0.08);
  max-width: 500px;
  font-size: 1.15rem;
  color: #fff;
  position: relative;
  animation: beta-glow 2.5s ease-in-out infinite alternate;
}

.beta-highlight-icon {
  font-family: 'Material Symbols Rounded';
  font-size: 2.2rem;
  color: #fff;
  filter: drop-shadow(0 0 8px #4f6fe0cc);
  animation: icon-pulse 2s infinite alternate;
  user-select: none;
}

.beta-highlight-text strong {
  color: #4f6fe0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes beta-glow {
  from {
    box-shadow: 0 0 16px 0 rgba(79, 111, 224, 0.12), 0 2px 8px 0 rgba(0,0,0,0.08);
  }
  to {
    box-shadow: 0 0 32px 4px rgba(79, 111, 224, 0.22), 0 2px 16px 0 rgba(0,0,0,0.12);
  }
}

@keyframes icon-pulse {
  from {
    filter: drop-shadow(0 0 8px #4f6fe0cc);
    transform: scale(1);
  }
  to {
    filter: drop-shadow(0 0 16px #4f6fe0);
    transform: scale(1.08);
  }
}

.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}