/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Merriweather;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f9fbff;
  color: #1f2937;
  line-height: 1.6;
}

/* Top Heading */
.login-top-header {
  background-color: #1E4B8B;
;
  color: #ffffff;
  text-align: center;
  padding: 60px 0px 60px 0px;
}

.login-top-header h1 {
    font-size: 40px;
    line-height: 48px;
}


.login-container {
  display: flex;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
}
.merriweather {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
a {
  text-decoration: none;   /* by default no underline */
  color: inherit;          /* optional: inherit parent text color */
}

a:hover {
  text-decoration: underline; /* show underline on hover */
}
.montserrat {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 24px;
  font-weight: 400;
  margin-top: 24px;
}
.left-box.login-left-box {
    width: 100%;
    margin-top: 0px !important;
    max-width: 448px;
}
.error-message {
    color: #B4000080;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 5px;
    font-family: "Montserrat", sans-serif;
}
/* Left Panel - Full Blue */
.login-info {
  background-color: #4A90E2;
  color: #fff;
  width: 50%;
  padding-right: 28px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;  
  text-align: left;
}
.button-containr{
  text-align: center;
}
.left-box{
    width: 324px;
 white-space: normal; 
 word-wrap: break-word;
}

.login-info h2 {
    font-family: Merriweather;
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
}
.login-info p {
  font-size: 16px;
  color: #FFFFFF;
}
.login-info p a {
    text-decoration: none;   /* by default no underline */
  color: inherit;
  
}
.login-info p a:hover {
  text-decoration: underline;
}

.login-info a {
  color: #dbeafe;
  text-decoration: underline;
}

/* Right Panel - Full White */
.login-form-container {
  background-color: #ffffff;
  width: 50%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: flex-end;
  align-items: flex-start;
  text-align: left; 

}

.login-form {
  width: 100%;
  /* max-width: 400px; */
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e1e1e;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Montserrat', sans-serif;
}

input {
    padding: 0.75rem;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-weight: 400;
    line-height: 20px;
    font-family: 'Montserrat', sans-serif;
}

input:focus {
  border-color: #2563eb;
  outline: none;
}
.login-email-input[type="text"] > input,.login-password-input > input[type="text"]{
  width: 520px;
  border-radius: 6px;
}

/* Login Button */
.login-btn {
  width: 240px;
  height: 48px;
  padding: 0.75rem;
  background-color: #17A2B8;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover,
.login-btn:focus {
  background-color: #0284c7;
  outline: 2px solid #17A2B8;
}

.password-box {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 6px;
    justify-content: space-between;
    align-items: center;
}
  .password-box:focus-within {
    outline-style: solid;
     outline: 2px solid black; /
  }
  .toggle-password{
        margin-top: auto;
    margin-bottom: auto;
    margin-right: 15px;
    user-select: none;
    cursor: pointer;
  }
    #password{
        border: none;
    outline: none;
  }
@keyframes l3 {to{transform: rotate(1turn)}}
@media (max-width: 898px) {
.request-received h1 {
    line-height: 40px !important;
}
}
@media (min-width: 768px) {
  .left-box{
  margin-top: -60px;
}
}
/* Responsive Layout */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    height: auto;
  }
  .left-box{
  width: 100%;
}

  .login-info, .login-form-container {
    width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .login-info {
  width: 100%;
  display: flex;
  flex-direction: column; 
  align-items:center;
  }

  .login-info h2 {
    font-size: 1.4rem;
  }

  .login-top-header h1 {
    font-size: 1.5rem;
  }

  .login-form {
    max-width: 100%;
  }

  .login-form-container {
    justify-content: center;
    align-items: center;
  }
  .forgot-password-container{
    align-items: center;
  }
}
@media (max-width: 600px) {
  .login-form-container {
    padding: 3rem 40px !important;
    font-size: 20px;
}

}
@media (max-width: 1024px) {
 .request-received-p p {
    font-size: 16px !important;
}
.request-received h1 {
    margin-bottom: 18px !important;
    font-size: 24px !important;
}

}
label.remember-me {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #000;
    padding-left: 5px;
    padding-top: 10px;
}
small#account_error-error {
    color: #B40000;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Place the global account error above the form with the required spacing.
   Desktop: 102px gap before the form's first field. Mobile: reduce spacing. */
small#account_error-error {
  display: block;
  margin-bottom: 102px; /* spacing between error text and the Email label */
}

@media (max-width: 768px) {
  small#account_error-error {
    margin-bottom: 20px; /* smaller gap on mobile */
    text-align: center;
  }
}