* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 80%;
  max-width: 1100px;
  min-height: 550px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.left-section {
  flex: 1;
  background: #e6f0fa;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: url("/assets/images/leftbg-lines.svg"),
    linear-gradient(180deg, #a9e8fb 0%, #dfedf2 76%);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
}

.heading-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-top: 2.5rem;
}

.heading-intro h1 {
  font-size: 28px;
  background: linear-gradient(
    270deg,
    #afe9fa 1.7%,
    #3cc4ed 49.39%,
    #aee8fa 94.3%
  );
  background-size: contain;
  color: #ffffff;
}

.heading-intro p {
  text-align: center;
  font-size: 15px;
  color: #1b244b;
}

.image-placeholder {
  width: 100%;
  height: 350px;
  border-radius: 10px;
}

.image-placeholder img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.right-section {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.logo {
  margin-bottom: 40px;
  text-align: center;
}

.logo img {
  max-width: 150px;
}

.logo p {
  font-size: 16px;
  color: #1b244b;
  margin-top: 5px;
  font-weight: 500;
  background: linear-gradient(
    270deg,
    rgba(27, 36, 75, 0) 1.7%,
    rgba(93, 194, 248, 0.4) 49.39%,
    rgba(27, 36, 75, 0) 94.3%
  );
  padding: 0.5rem;
  font-weight: 600;
}

.right-section h2 {
  font-size: 22px;
  color: #11254a;
  margin-bottom: 30px;
  text-align: left;
  font-weight: 600;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 14px;
  color: #00000094;
  margin-bottom: 5px;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  background: #f9f9f9;
  border-radius: 10px;
}

.input-group input[type="text"] {
  background-image: url("/assets/images/Mail.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 10px center;
}

.input-group input[type="password"] {
  background-image: url("/assets/images/lock.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 10px center;
}

.input-group input:focus {
  outline: none;
  border-color: #11254a;
}

.options {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #11254a;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
}

.login-btn:hover {
  background: #0d1c38;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer p {
  font-size: 12px;
  color: #11254a;
  text-align: center;
  margin-bottom: -4rem;
}

/* Validation error styles */
.error {
  border-color: #e74c3c !important;
}

label.error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .container {
    width: 90%;
    max-width: 900px;
    min-height: auto;
  }

  .left-section {
    padding: 20px;
  }

  .heading-intro h1 {
    font-size: 24px;
  }

  .heading-intro p {
    font-size: 14px;
  }

  .image-placeholder {
    height: 300px;
  }

  .right-section {
    padding: 30px;
  }

  .logo img {
    max-width: 120px;
  }

  .right-section h2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
    border-radius: 10px;
  }

  .left-section {
    flex: none;
    width: 100%;
    padding: 20px;
    min-height: 300px;
    background-size: cover;
  }

  .heading-intro {
    margin-top: 1.5rem;
  }

  .heading-intro h1 {
    font-size: 20px;
  }

  .heading-intro p {
    font-size: 13px;
  }

  .image-placeholder {
    height: 200px;
  }

  .right-section {
    flex: none;
    width: 100%;
    padding: 20px;
  }

  .logo {
    margin-bottom: 30px;
  }

  .logo img {
    max-width: 100px;
  }

  .logo p {
    font-size: 14px;
  }

  .right-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .input-group input {
    padding: 8px 8px 8px 35px;
    font-size: 13px;
  }

  .input-group input[type="text"],
  .input-group input[type="password"] {
    background-size: 18px;
    background-position: 8px center;
  }

  .login-btn {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    border-radius: 8px;
  }

  .left-section {
    padding: 15px;
    min-height: 300px;
  }

  .heading-intro {
    margin-top: 1rem;
  }

  .heading-intro h1 {
    font-size: 18px;
  }

  .heading-intro p {
    font-size: 12px;
  }

  .image-placeholder {
    height: 150px;
  }

  .right-section {
    padding: 15px;
  }

  .logo img {
    max-width: 80px;
  }

  .logo p {
    font-size: 12px;
  }

  .right-section h2 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .input-group {
    margin-bottom: 15px;
  }

  .input-group label {
    font-size: 12px;
  }

  .input-group input {
    padding: 7px 7px 7px 30px;
    font-size: 12px;
  }

  .input-group input[type="text"],
  .input-group input[type="password"] {
    background-size: 16px;
    background-position: 7px center;
  }

  .options {
    font-size: 12px;
  }

  .login-btn {
    padding: 8px;
    font-size: 13px;
  }

  label.error {
    font-size: 10px;
  }
}
