* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  background:linear-gradient(90deg, #5b0ca8, #7d1fad);
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.info-section img.logo-img {
  height: 80px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-links a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.page-container {
  flex: 1;
  display: flex;
  margin-top: 80px;
}

.login-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-container {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.login-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-input {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.login-input:focus {
  border-color: #6A0DAD;
  outline: none;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.options a {
  color: #6A0DAD;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

.login-button {
  width: 100%;
  padding: 0.9rem;
  background-color: #4CAF50;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-button:hover {
  background-color: #45a049;
}

.error-messages {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background-color: #ffe5e5;
  border: 1px solid #ff4d4d;
  border-radius: 8px;
  color: #b30000;
}

.error-text {
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

.info-section {
  flex: 1;
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-section ul {
  list-style: none;
  padding-left: 0;
}

.info-section ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.5rem;
}

.info-section ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

.footer {
  background-color: #0a0a0a;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer .footer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.footer .footer-menu {
  margin-bottom: 1rem;
}

.footer .footer-menu a {
  color: #aaa;
  margin: 0 1rem;
  text-decoration: none;
}

.footer .footer-menu a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .page-container {
    flex-direction: column;
    margin-top: 60px;
  }

  .login-section, .info-section {
    padding: 1.5rem;
    width: 100%;
  }

  .info-section {
    text-align: center;
    padding-top: 0;
  }

  .info-section h2 {
    font-size: 1.8rem;
  }

  .info-section ul li {
    font-size: 1rem;
    padding-left: 1.2rem;
  }

  .login-container {
    max-width: 100%;
    padding: 2rem 1.2rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .login-title {
    font-size: 1.6rem;
  }

  .login-button {
    font-size: 1rem;
  }

  .footer .footer-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
}