/* Global Box Sizing Fix */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* General Body Styling */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  height: 100vh;
  background: linear-gradient(145deg, #120220, #22043c 60%, #b89c63 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Container Styling */
.container {
  background: rgba(18, 2, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  color: #f9f9f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
}

/* Login-specific height and width adjustment */
.login-container {
  padding: 30px 25px;
  max-width: 360px; /* was 420px in main container */
  width: 90%;
}

.signup-container {
  padding: 30px 25px;
  max-width: 380px;
  width: 90%;
}


.signup-container {
  max-width: 600px;
  padding: 30px 25px;
}

.form-two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.form-two-column .form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.form-two-column .form-group.full-width {
  flex: 1 1 100%;
}

.form-two-column input {
  padding: 12px;
  margin-top: 8px;
  border-radius: 10px;
  border: none;
}

.form-two-column .btn.full-width {
  width: 100%;
}

.link-below {
  text-align: center;
}

.link-below a {
  color: #e1cc8e;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 480px) {
  .form-two-column .form-group {
    flex: 1 1 100%;
  }
}


.container img {
  width: 90px;
  height: 90px;
  margin-bottom: 25px;
  object-fit: cover;
  border-radius: 50%;         /* Makes the logo circular */
  border: 2px solid #e1cc8e;  /* Optional: gold border for style */
}

.btn {
  margin-top: 20px;
  padding: 12px 36px;
  font-size: 16px;
  background-color: #e1cc8e;
  color: #22043c;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #cdb87b;
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 20px;
    margin: 0 10px;
  }

  .container h1 {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 0;
  }
}

/* Loader Styles */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #120220;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#loader img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Footer Styling */
.footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #ccc;
  font-weight: 300;
}


/*Signup handler checking phone and email error display css*/

.input-status {
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

.input-status.available {
  color: #90ee90;
}

.input-status.exists {
  color: #ff6b6b;
}


