body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;

  background: 
    radial-gradient(circle at 20% 30%, rgba(146, 69, 63, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 80, 80, 0.1), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(200, 30, 60, 0.08), transparent 60%),
    linear-gradient(to bottom, #0d0d0d 0%, #000000 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


.logo {
    position: fixed;
    top: -95px;
    left: -20px;
    width: 240px;
    height: auto;
}

.header{

    font-family: "Roboto", sans-serif; 
    font-weight: bold;
}
input {
    outline: 2px solid black;
}
.landing-container {
  display: flex;
  justify-content: center;
  padding-top: 100px; /* space for logo/nav */
  padding-bottom: 60px;
  min-height: 100vh;
  box-sizing: border-box;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* start at top instead of center */
  width: 100%;
}


.register-form {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 30px;
  border-radius: 30px;
  width: 500px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 90vh;
  overflow-y: auto;
}



.register-form h2 {
    margin-bottom: 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    color: #333;
}

.register-form input,
.register-form select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px;
  margin: 10px 0;
  border-radius: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  outline: none;
}

input::placeholder,
select option[disabled] {
  color: rgba(255, 255, 255, 0.5);
}

select option {
  color: #000; /* black text for dropdown options */
}


.register-form input:focus,
.register-form select:focus {
  border-color: #e63946;
  box-shadow: 0 0 5px rgba(230, 57, 70, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}


.register-form h2 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.register-form button {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-form button:hover {
  background-color: rgba(255, 255, 255, 0.25);
}


 .menu-button-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    width: 25px;
  }
  
  .menu-button {
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
  }
  
  .menu-button img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
  }
  
 .menu-content {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

  .menu-content.active {
    right: 0;
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000000;
  }
  
  .menu-content li {
    margin-bottom: 10px;
    z-index: 10000000;
  }
  
  .menu-content a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    z-index: 1000000;
  }
  
  /*Profile Button*/
  
  .profile-button-container{
    position: fixed;
    top: 20px;
    right: 50px;
    z-index: 999;
  }
  
  .profile-button{
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
  }
  
  .profile-button img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  select {
    color: #999; /* Placeholder color */
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

select option {
    color: #000; /* Option text color */
}

select option[disabled] {
    color: #999; /* Placeholder color for the disabled option */
}

select, input[type="text"], input[type="password"], input[type="date"] {
    color: #000; /* Text color */
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

select option {
    color: #000; /* Option text color */
}

select option[disabled] {
    color: #999; /* Placeholder color for the disabled option */
}

input::placeholder {
    color: #999; /* Placeholder color */
}

.register-form h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.register-form input:focus,
.register-form select:focus {
    border-color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    background-color: #f9f9f9;
}

.register-form .bottom-link {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-form .bottom-link a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.register-form .bottom-link a:hover {
    text-decoration: underline;
}


.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  flex: 1;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 16px;
}





/* === Footer Styles (Simplified & Responsive) === */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 40px 30px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  border-top: 1px solid #222;
  margin-top: 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-left img {
  width: 140px;
  height: auto;
  margin-bottom: 10px;
}

.footer-left p {
  margin: 0;
  font-size: 13px;
  color: #bbb;
}

.footer-right {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 20px;
}

.footer-right a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #fff;
}


@media (max-height: 800px), (max-width: 600px) {
  .register-form {
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 30px;
    border-radius: 30px;
  }
}












.register-form fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border: none;
  margin-bottom: 30px;
  padding: 0;
}

@media (max-width: 700px) {
  .register-form fieldset {
    grid-template-columns: 1fr;
  }
}

.register-form input,
.register-form select {
  width: 100%;
  margin-bottom: 15px;
}

input,
select {
  color: #000 !important; /* always black text */
  background-color: rgba(255, 255, 255, 0.9); /* light glassy */
}

.register-form {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

fieldset legend {
  grid-column: span 2;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ddd;
}



.form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -6px;
  margin-bottom: 12px;
  display: block;
}



/* Let this input span both columns */
.full-width-field {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.full-width-field label {
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 500;
}

.full-width-field input {
  width: 100%;
}

@media (max-width: 700px) {
  .full-width-field {
    grid-column: span 1;
  }
}




.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.4s ease forwards;
}

.loader-content {
  text-align: center;
}

.runner-gif {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-overlay p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}


.error {
    color: red;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
}


.flash-container {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 600px;
}

.flash {
  background-color: #28a745; /* Default green success */
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  animation: fadeInFlash 0.3s ease;
}

/* Category-specific overrides (optional) */
.flash-error { background-color: #e74c3c; }
.flash-warning { background-color: #f39c12; }
.flash-info { background-color: #3498db; }

@keyframes fadeInFlash {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
