/* General Body Styles */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

/* Login Container */
.login-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  text-align: center;
  width: 100%;
}

/* Logo */
.imgcontainer {
  margin-bottom: 1rem;
}

.logo {
  width: 60%;
  margin: 0 auto;
}

.subtitle {
  font-size: 1rem;
  color: #94a3b8;
  margin-top: 1rem;
}

/* Input Fields */
input[type="text"],
input[type="password"] {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 16px;
  margin: 8px 0;
  width: 90%;
  font-size: 0.9rem;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #cbd5e1;
  opacity: 0.7;
}

input:focus {
  outline: none;
  border: 2px solid #38bdf8;
  box-shadow: 0 0 4px #38bdf8;
}

/* Buttons */
button {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  margin-top: 12px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.02);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: scale(0.98);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Developed By */
.developed-by {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}


/* Snackbar Styles */
#snackbar {
  visibility: hidden;
  min-width: 300px;
  max-width: 80%;
  margin-left: -150px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 12px 24px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Password Recovery Link */
#forgot-password {
  margin-top: 1rem;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

#forgot-password:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.developed-by > a {
  text-decoration: none;
  color: #38bdf8;
  font-weight: bold;
}

.developed-by > a:hover {
  text-decoration: underline;
}
  