* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* === Animated Gradient === */
@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

body {
  background: linear-gradient(-45deg, #b3e5fc, #81d4fa, #4dd0e1, #b2ebf2);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: var(--light-text);
}

/* === Header / Nav === */


/* === Login Container === */
.login-container {
  margin: 60px;
  display: flex;
  width: 850px;
  min-height: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  flex-direction: row-reverse;
}

.login-box {
  width: 50%;
  padding: 25px;
  background: linear-gradient(to bottom right, #f4f6fb, #e7edf5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #2c3e50;
}

.login-title {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
  color: var(--accent-color);
  font-weight: 700;
}

.input-field {
  margin-bottom: 20px;
}

.input-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.input-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 15px;
  background: #f4f6fb;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.input-field input:hover {
  border-color: #2980b9;
  background-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.2);
}

.login-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease-in-out;
}

.login-button:hover {
  background: linear-gradient(135deg, #1c6690, #2980b9);
  transform: scale(1.03);
  box-shadow: 0px 6px 14px rgba(41,128,185,0.5);
}

.signup-text {
  text-align: center;
  margin-top: 20px;
  color: #2c3e50;
  font-size: 13px;
}

.signup-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.signup-text a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* === Welcome Section === */
.welcome-section {
  width: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.welcome-title {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.welcome-message {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 768px) {
  .login-container {
    width: 95%;
    flex-direction: column;
    align-items: center;
  }

  .login-box, .welcome-section {
    width: 100%;
    padding: 30px;
  }

  .welcome-section {
    order: -1;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 10px;
  }

  .sign-in-btn {
    margin-top: 10px;
  }
}
