/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff; /* Switched to white */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  
  .welcome-message {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .welcome-message h1 {
    font-size: 24px;
    font-weight: 400;
    color: #6a1b9a;
    margin-bottom: -5px;
  }
  
  .login-container {
    width: 250px;
    background-color: #f8f8f8; /* Switched to light gray */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .login-form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
  }
  
  input {
    font-size: 14px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  
  input::placeholder {
    color: #ccc;
  }
  
  button {
    font-size: 14px;
    padding: 10px;
    background-color: #ab47bc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #8e24aa;
  }
  .error-message {
    display: flex;
    align-items: center;
    background-color: rgba(255, 99, 71, 0.1); /* Light reddish background */
    color: #cf0c0c; /* Vibrant red for text */
    border: 1px solid rgba(207, 12, 12, 0.5); /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 5px 5px; /* Space inside the box */
    margin: 10px 0; /* Space around the message */
    font-family: 'Arial', sans-serif; /* Clean font */
    font-size: 1rem; /* Readable size */
}

.error-message .error-icon {
    font-size: 1.2rem; /* Slightly larger icon */
    margin-right: 10px; /* Space between icon and text */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  display: none; /* Initially hidden */
  z-index: 9999; /* Make sure it's on top of everything */
  text-align: center;
}

#loading-overlay img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; /* Adjust size as needed */
  height: 80px;
}
