/* Reset some default styles */
* 
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========================================= */
/*      CONSISTENT NAVIGATION STYLES         */
/* ========================================= */

header 
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar 
{
  display: flex;                  
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 80px;
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.brand-name {font-optical-sizing: auto;
      font-size: 32px; 
      font-weight: bold;  color: #756199;font-family: "Noto Serif", serif; }


.hamburger-menu 
{
  display: none;
  font-size: 2rem;
  color: #2D1764;
  cursor: pointer;
  z-index: 1001;
}

.nav-links a {text-decoration: none; color: #2D1764; font-weight: 500; font-size: 1rem; padding: 0.5rem 0; transition: color 0.3s ease; border-bottom: 2px solid transparent; }
.nav-links { list-style: none; display: flex; gap: 2.5rem; padding-right: 1rem; margin: 0; }
.nav-links a:hover { color: #E63946;}

body
{
  background: linear-gradient(to right, #cfd0dc, #cfd0dc);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Login container styling */
.login-container 
{
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Heading */
.login-container h2 
{
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.8rem;
}

/* Input fields */
.login-container input[type="text"],
.login-container input[type="password"] 
{
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-container input:focus 
{
  border-color: #4e54c8;
  outline: none;
}

/* Button */
.login-container button 
{
  width: 100%;
  padding: 0.75rem;
  background-color: #4e54c8;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container button:hover 
{
  background-color: #3b3fc1;
}

/* Error message */
#error 
{
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 480px) 
{
  .hamburger-menu { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.5rem; }

  
  .login-container {
    padding: 1.5rem;
    border-radius: 10px;
  }

  .login-container h2 {
    font-size: 1.5rem;
  }

  .login-container input,
  .login-container button {
    font-size: 0.95rem;
  }
}