/* Reset and base */
.main-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px; 
  background-color:white;
  color: rgb(0, 0, 0);
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  z-index: 1; /* Make sure it stays above everything */
}
.logo {
  display: flex;
  font-family: poppins;
  font-size:200%;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 20px;
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.logo-img{
  height:50px; 
  width:60px;

}
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  
  font-family: 'Ostrich Sans', sans-serif;
  overflow: hidden;
  position: relative;
}


/* Container */
.container {
  position: absolute;
  z-index: 2;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  border: 2px solid rgb(0, 0, 0);
  z-index: 2;
  border-radius: 12px;
  padding: 2rem;
  width: 320px;
  text-align: center;
  background-color: transparent;
  backdrop-filter: blur(19px);
  
}
/* message */
.message-box {
  margin: 15px 0;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  display: none;
  text-align: center;
}

.message-box.success {
  color: #155724;
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
}

.message-box.error {
  color: #721c24;
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
}

h1{
  color:rgb(255, 217, 0);
   margin-bottom: 20px;
}


/* Input Fields */
.wh {
  width: 100%;
  padding: 0.35rem;
  margin: 10px 0;
  border-radius: 10px;
  background-color: transparent;
  color: orange;
  font-size: 1rem;
  border: 1.8px solid black;
}

.wh::placeholder {
  
  color: rgb(255, 166, 0);
}

/* Select Dropdown */
.s {
  width: 100%;
  padding: 0.75rem;
  margin: 10px 0;
  border: 1px solid orange;
  border-radius: 10px;
  background-color: transparent;
  color: orange;
  font-size: 1rem;
}

/* Password Eye Wrapper */
.password-wrapper {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(255, 196, 0);
  cursor: pointer;
}

/* Button */
#signup-btn ,#login-btn {
  background-color: black;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  margin-top: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  border: .1px solid black;
  
}

#signup-btn:hover ,#login-btn:hover{
  border: .1px solid #FFC300;
  color: #000000;
  background-color: #FFC300;
  font-weight: 500;
}


/* Login Link */
.login-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: orange;
  text-decoration: underline;
}
/* Loader styles */
/* Loader Overlay */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(.1px);
}

/* Loader Spinner */
.loader {
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.4); /* glowing effect */
  border: 5px solid #f3f3f3; /* light grey background ring */
  border-top: 5px solid black; /* black top border */
  border-right: 5px solid yellow; /* yellow side for dual colour effect */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
 
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Message box styles */
.message-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  display: none;
  text-align: center;
  font-weight: bold;
}

.message-box.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-box.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
