.home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 50px;
  margin-right: 10px;
}

.portal-title {
  font-size: 24px;
  margin: 0;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ✅ Navbar Styling */
.navbar {
  background-color: #111;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.portal-title {
  margin: 0;
  font-size: 1.8rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #FFD700;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #FFD700;
}

/* ✅ Login Page Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('https://t3.ftcdn.net/jpg/14/26/45/20/240_F_1426452048_uPZG1H7vanYXynglqcb7sh57soLJidkW.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  display: flex;
  width: 80%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Left section */
.left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.chakra {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Right section */
.login-box {
  flex: 1;
  padding: 50px 40px;
  color: white;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.login-box label {
  font-size: 16px;
  margin-bottom: 5px;
  display: block;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 15px;
  transition: 0.3s;
}

.login-box input[type="text"]::placeholder,
.login-box input[type="password"]::placeholder {
  color: #eee;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
}

.login-box input[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-box input[type="submit"]:hover {
  background-color: #155ab6;
}
