/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mobile-First Simple Navbar Styles */
.simple-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 60px;
}

.navbar-logo img {
  height: 35px;
  cursor: pointer;
}

.home-btn {
  padding: 8px 16px;
  background-color: #0097d7;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.home-btn:hover {
  background-color: #007bb5;
  transform: translateY(-1px);
}

/* Body - mobile optimized */
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0097d7, #8444ec);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
  padding: 70px 15px 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.login-container h2 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #0097d7;
  line-height: 1.4;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 0;
  position: relative;
}

.password-group {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-top: -8px;
}

.password-toggle:hover {
  color: #0097d7;
}

.eye-icon {
  width: 20px;
  height: 20px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  transition: 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #0097d7;
  box-shadow: 0 0 0 2px rgba(0, 151, 215, 0.15);
}

.login-container button {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border-radius: 8px;
  border: none;
  background: #0097d7;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.login-container button:hover {
  background: #007bb5;
  transform: translateY(-1px);
}

.footer-text {
  margin-top: 18px;
  font-size: 14px;
  color: #555;
}

.footer-text a {
  color: #0097d7;
  text-decoration: none;
  font-weight: 500;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* Smooth entry animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet adjustments */
@media (min-width: 600px) {
  .login-container {
    padding: 35px 30px;
  }
  
  .login-container h2 {
    font-size: 24px;
  }
}

/* Desktop adjustments */
@media (min-width: 768px) {
  .simple-navbar {
    padding: 15px 40px;
    height: 70px;
  }
  
  .navbar-logo img {
    height: 50px;
  }
  
  .home-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  body {
    padding: 90px 20px 20px;
  }
  
  .login-container h2 {
    font-size: 26px;
  }
}