/* Reset and Base Styles */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom right, #f0f9ff, #cbebff);
  color: #333;
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
}




header {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 16px;
}
header nav a:hover {
  text-decoration: underline;
}


/* Login Container */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.login-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.login-box h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #444;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 0.9rem;
  color: #666;
  text-align: left;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

input:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}

.login-button {
  background-color: #87be3a;;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #3b7cd1;
}

.login-button:active {
  background-color: #3166b1;
}

/* Social Login Buttons */
.social-login {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.google-login, .facebook-login {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  
}

.google-login {
  background-color: #28a745;
  color: white;
  margin-right: 10px;
}

.google-login:hover {
  background-color: #c5382f;
}

.facebook-login {
  background-color: #28a745;
  color: white;
}

.facebook-login:hover {
  background-color: #365899;
}

/* Create Account Link */
.create-account {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

.create-account a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
}

.create-account a:hover {
  text-decoration: underline;
}


#logo{
  height:40px;
  width: 40px;
}

footer {
  text-align: center;
  padding: 20px 0;
  background: #28a745;
  color: white;
  font-size: 14px;
  margin-top: auto;
  
}
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00ffa2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it overlays all other content */
}

.spinner {
  width: 80px;
  height: 80px;
  /* border: 2px dotted #ccc; */
  /*border-top: 5px dotted #ffffff;*/  /* Spinner color */
  border-radius: 50%;
  animation: spin 2s ease-in-out infinite;
  background-image: url("https://img.icons8.com/dotty/80/FFFFFF/medical-id.png");
  box-shadow:0 0 2px rgb(255, 255, 255);
  background-position: center;
  background-size: cover;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#Name{
  font-size:5rem;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  color:white;
  animation: fadeout linear 1s;
  animation-duration: infinite;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.34);
}
@keyframes fadeout{
  from{
    opacity:0;
  }
  to{
    opacity:1;  
  }
}
