/* Login Page Specific Styles */

body {
  background-color: #f8fbfe; /* Light blue-ish white background */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: "Plus Jakarta Sans", sans-serif;
  position: relative;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  background-image: url(../images/login-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 42px 20px;
}

.login-header {
  margin-bottom: 65px;
  text-align: center;
}

.login-header .logo {
  max-width: 310px;
  height: auto;
}

.login-card {
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
  margin-bottom: 57px;
  padding: 33px 30px;
  gap: 65px;
  margin: 0 auto;
}

.login-image {
  max-width: 440px;
  width: 100%;
  position: relative;
  border-radius: 41px;
  overflow: hidden;
  min-height: 600px;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.login-container {
  max-width: 1065px;
  width: 100%;
}
.login-form-section {
  max-width: 487px;
  width: 100%;
  align-self: center;
}

.login-content {
  width: 100%;
  max-width: 365px;
}

.login-content h1 {
  font-size: 38px;
  font-weight: 500;
  color: #1f2763;
  margin: 0;
}

.login-content .subtitle {
  color: #2a2a2a;
  font-size: 16px;
  line-height: 29px;
  padding: 0;
  margin: 0;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #2a2a2a;
  margin-bottom: 6px;
  font-weight: 400;
  line-height: normal;
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  color: #2a2a2a;
  transition: all 0.3s ease;
  background: transparent;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.form-group input:focus {
  border-color: #1f2763;
  box-shadow: 0 0 0 4px rgba(31, 39, 99, 0.05);
  outline: none;
}

.form-group input::placeholder {
  color: #aaa;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 0;
  display: flex;
  align-items: center;
}

.toggle-password:hover {
  color: #2a2a2a;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
  margin-top: -5px;
}

.forgot-password {
  font-size: 14px;
  color: #2a2a2a;
  font-weight: 400;
}

.forgot-password:hover {
  color: #1f2763;
  text-decoration: underline;
}
* {
  box-sizing: border-box;
}
input[type="submit"] {
  width: 100%;
  padding: 16px 16px;
  background: #1f2763;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

input[type="submit"]:hover {
  background: #161c46;
}

.form-footer {
  display: flex;
  align-items: center;
}

/* Custom Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
  color: #000;
  font-weight: 400;
  margin-bottom: 11px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  height: 18px;
  width: 18px;
  background-color: #1f2763; /* Dark Blue */
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #1f2763;
}

.checkmark svg {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  stroke: white;
}

.checkbox-container input:checked ~ .checkmark svg {
  display: block;
}
.checkbox-container a {
  color: #2a2a2a;
  font-weight: 600;
  text-decoration: none;
}

.login-footer {
  text-align: center;
  padding: 20px;
  font-size: 20px;
  color: #2a2a2a;
  font-weight: 400;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .login-header {
    margin-bottom: 20px;
  }
  .login-wrapper {
    padding: 30px 20px 30px;
  }
  .login-card {
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    padding: 15px 15px 40px;
    border-radius: 20px;
    gap: 25px;
  }
  .login-form-section {
    max-width: 100%;
  }
  .login-header .logo {
    max-width: 200px;
  }
  .login-content {
    max-width: 100%;
  }
  .login-content h1 {
    font-size: 30px;
    line-height: normal;
  }
  .login-image {
    max-width: 100%;
    min-height: 200px;
    height: 200px;
    flex: none;
    width: 100%;
    border-radius: 20px;
  }
  .login-content h1{
    text-align: center;
  }
  .login-content .subtitle{
    text-align: center;
  }
  .login-footer p{
    margin: 0;
    font-size: 15px;
    line-height: normal;
  }
  .login-footer{
   padding: 0;
   padding-top: 40px;
  }

}

.powered_by {
  font-size: 12px;
}

.powered_by a{
  color: #30b8fb;
}
