/* Basic Page Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    overflow: hidden; /* Prevent scrolling while the modal is active */
}

.alert-banner {
    background-color: hotpink;
    color: black;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays on top of everything */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
}

/* Modal Styles */
.warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.warning-content {
    background: hotpink;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

h2 {
    color: #e63946;
    font-size: 1.8em;
}

p {
    font-size: 1.2em;
    color: #333;
}

button {
    background-color: #e63946;
    color: white;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #d62828;
}

/* Hidden page content initially */
#page-content.hidden {
    display: none;
}


/* General Page Styles */
body {
  background: #0a0a0a;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Form Container */
.form-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    text-align: center;
    z-index: 2;
    max-width: 500px; /* Limit the maximum width of the form */
    margin: 0 auto; /* Center the form horizontally */
}


label {
    display: block; /* Make labels block-level to span the full width */
    margin-bottom: 15px; /* Space between labels and inputs */
}

/* Basic input, select, and textarea styling */
input, select, textarea {
    width: 100%; /* Makes the input/select fill the width of the parent */
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #333; /* Darker background */
    color: white; /* White text */
    transition: border-color 0.3s, background-color 0.3s; /* Smooth transitions */
    box-sizing: border-box; /* Include padding and border in element's total width */
}

/* Specific adjustments for select dropdown */
select {
    -webkit-appearance: none;  /* Removes default dropdown arrow in WebKit browsers */
    -moz-appearance: none;     /* Removes default dropdown arrow in Firefox */
    appearance: none;          /* Universal way to remove default dropdown arrow */
    background-color: #444;    /* Matching background color */
    color: white;              /* White text */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path d="M12.15 5.85l-3.85 3.85-3.85-3.85" stroke="#fff" stroke-width="2"></path></svg>');  /* Custom white down arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    width: calc(100% + 30px); /* Make the select a little longer */
    margin-left: -15px; /* Adjusts for the extra width */
}


/* Glowing Submit Button */
button {
  background: #00ffff;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 10px #00ffff, 0 0 40px #00ffff;
}

button:hover {
  background: #ff00ff;
  box-shadow: 0 0 20px #ff00ff, 0 0 60px #ff00ff;
}

/* Neon Circles */
.neon-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.8),
    rgba(0, 255, 255, 0)
  );
  filter: blur(10px);
  animation: moveCircles 6s linear infinite alternate,
    changeColor 4s infinite alternate;
}

/* Individual Circle Positions */
.circle1 {
  top: 10%;
  left: 15%;
}
.circle2 {
  bottom: 10%;
  right: 20%;
}
.circle3 {
  top: 50%;
  left: 70%;
}

/* Moving Animation */
@keyframes moveCircles {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(40px) rotate(360deg);
  }
}

/* Color Change Animation */
@keyframes changeColor {
  0% {
    background: radial-gradient(
      circle,
      rgba(0, 255, 255, 0.8),
      rgba(0, 255, 255, 0)
    );
  }
  100% {
    background: radial-gradient(
      circle,
      rgba(255, 0, 255, 0.8),
      rgba(255, 0, 255, 0)
    );
  }
}

/* Animate the h2 through RGBIV colors */
@keyframes colorCycle {
    0% { color: red; }
    20% { color: orange; }
    40% { color: yellow; }
    60% { color: green; }
    80% { color: blue; }
    100% { color: violet; }
}

/* Apply the animation */
h2 {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 0 10px white;
    animation: colorCycle 5s infinite linear; /* Adjust timing */
}
