@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins';
  box-sizing: border-box;
}

body {
  background-color: #FFCDE9 !important;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100vh;
  width: 100%;
  background-color: #FFCDE9 !important;
}

.content-container-wrapper {
  display: grid;
  height: 100vh;
  grid-template-columns: 5fr 1fr;
  background-color: #FFCDE9;
}

.side {
  flex-grow: 1;
  display: flex;
  background-color: #E3066A;
  justify-content: flex-end;
}

.side img {
  width: 100%;
  height: 100vh;
  object-fit: fill;
  mix-blend-mode: Luminosity;
}

.content-wrapper-side .side-image {
  width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

.content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 8em;
  background-color: #FFCDE9 !important;
}

.mis-cainta-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 15px;
  margin-left: 20px;
}

.mis-logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  mix-blend-mode: lighten;
}

.cainta-logo {
  width: 90px;
  height: 50px;
  mix-blend-mode: lighten;
}

.mis-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mis-logo-container label {
  font-weight: 500;
  font-size: 32px;
  color: #E3066A;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
  padding-bottom: 5rem;
  padding-top: 5rem;
  position: relative; 
  z-index: 1;
  background-color: #FFCDE9;
}

.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../mis-img/login-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1; 
  mix-blend-mode: color-burn; 
  z-index: -1;
}


.login-icon {
  width: 210px;
  height: 50px;
}

.logo h1 {
  font-size: 55px;
  font-weight: bold;
  color: #317BC6;
  margin-top: 1.2em;
  box-shadow: 0px 4px 4px 0px #00000040 inset;
}

.logo .cainta-dbms {
  height: 50px;
  width: 300px;
}

.bottom-content {
  margin-top: 50px;
}

.wrapper-list {
  list-style-type: none; 
}

.wrapper-label {
  font-size: 16px;
  font-weight: 400;
  color: #6D6D6D;
  margin-right: 30px;
}

.content-wrapper .content-label:hover,
.credits-label:hover,
.wrapper-label:hover {
  text-decoration: none;
  color: #317BC6;
}

.credits-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  margin-top: 10px;
  font-size: 14px;
  color: #E3066A;
  margin-top: 1em;
  margin-bottom: 15px;
  margin-left: 1em;
}

.credits-label img {
  height: 17px;
  width: 17px;
  margin-right: 5px;
}

.login-form {
  width: 440px;
  padding: 20px;
  padding-top: 30px;
  padding-bottom: 0;
}

.login-form label {
  font-size: 16px;
  font-weight: 400;
  padding-left: 15px;
  padding-bottom: 0px;
}

.input-box,
.input-box-password {
  background: #ffffff;
  width: 100%;
  height: 45px;
  border-style: solid;
  border-width: 0px 0px 2px 0px; 
  border-bottom: 4px solid #ED81BD;
  border-color: #ED81BD;
  padding: 5px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  padding-left: 0px;
  margin-left: 0px;
  margin-top: 40px;
  border: none;
  border-radius: 30px;
  padding-left: 15px;
  box-shadow: 0px 2px 2px 0px #ED81BD;
}

.input-box {
  margin-top: 40px;
}

.input-box-password {
  border-bottom: 2px solid #ED81BD;
  margin-bottom: 30px;
}

.input-box input,
.input-box-password input {
  background: #ffffff;
  width: 100%;
  height: 100%;
  padding: 5px;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.input-box-password img,
.input-box img {
  width: 25px;
  height: 15px;
  cursor: pointer;
  padding-right: 5px;
}

.input-box img {
  height: 30px;
  width: 30px;
  padding-right: 0px;
}

.input-box input::placeholder,
.input-box-password input::placeholder {
  color: #E3066A;
  font-size: 18px; 
  font-weight: 400;
}

.login-form button {
  width: 100%;
  height: 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #E3066A;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 2em;
  text-align: center;
}

.login-form button:hover {
  background-color: #317BC6;
  box-shadow: 0px 4px 2px 0px #317BC666;
  box-shadow: 0px 4px 4px 0px #00000040 inset;
}

.form-links {
  text-align: center;
}

a {
  text-decoration: none;
  color: #1113a1;
  padding: 5px;
  padding-left: 15px;
  font-weight: 500;
  font-size: 14px;
}

a:hover {
  text-decoration: underline;
  color: #1c1aaf;
}

.incorrect-password,
.email-not-found {
  color: #d4070f;
  font-size: 14px;
  font-weight: 400;
  padding-left: 15px;
  margin-bottom: 5px;
}

.error-list {
  list-style: none;
  padding: 0;
}

.success-message {
  color: #0c8900;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 1200px) {
  .content-container-wrapper {
    flex-direction: column;
  }

  .side {
    height: 200px; /* Adjust as needed */
  }

  .content-wrapper {
    padding: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .logo h1 {
    font-size: 40px;
  }

  .login-form {
    max-width: 100%;
    padding: 15px;
  }

  .input-box,
  .input-box-password {
    height: 35px;
  }

  .input-box input,
  .input-box-password input {
    font-size: 14px;
  }

  .input-box img,
  .input-box-password img {
    width: 20px;
    height: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .logo img {
    width: 200px;
  }

  .logo h1 {
    font-size: 30px;
  }

  .login-form {
    max-width: 100%;
    padding: 10px;
  }

  .input-box,
  .input-box-password {
    height: 30px;
  }

  .input-box input,
  .input-box-password input {
    font-size: 12px;
  }

  .input-box img,
  .input-box-password img {
    width: 15px;
    height: 15px;
  }

  .credits-label {
    font-size: 12px;
    margin-top: 6em;
  }
}