* {
  box-sizing: border-box;
}
body {
  font-size: 14px;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}
.login-page {
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,1);
  opacity: 1;
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.background-container {
  width: 100%;
  height: 100vh;
  background: url("../images/v40_5.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100vh;
  background: url("../images/v39_1829.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 494px;
  overflow: hidden;
}
.blue-overlay {
  width: 100%;
  height: 100vh;
  background: rgba(1,30,145,1);
  opacity: 0.8999999761581421;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.left-panel {
  width: 915px;
  height: 100vh;
  background: rgba(255,255,255,1);
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}
.company-branding {
  width: 441px;
  height: 206px;
  background: url("../images/v40_11.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 555px;
  left: 237px;
  overflow: hidden;
}
.company-name {
  width: 441px;
  color: rgba(1,30,145,1);
  position: relative;
  top: 0px;
  left: 0px;
  font-family: Rubik One;
  font-weight: Regular;
  font-size: 100px;
  opacity: 1;
  text-align: left;
}
.company-type {
  width: 295px;
  color: rgba(1,30,145,1);
  position: absolute;
  top: 104px;
  left: 72px;
  font-family: Rosario;
  font-weight: Regular;
  font-size: 60px;
  opacity: 1;
  text-align: left;
}
.company-tagline {
  width: 375px;
  color: rgba(1,30,145,1);
  position: absolute;
  top: 188px;
  left: 32px;
  font-family: Rosario;
  font-weight: Regular;
  font-size: 15px;
  opacity: 1;
  text-align: left;
}
.decorative-logo {
  width: 717px;
  height: 444px;
  background: url("../images/v40_9.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 127px;
  left: 71px;
  overflow: hidden;
}
.login-form {
  width: 556px;
  height: 400px;
  opacity: 1;
  position: absolute;
  top: 300px;
  left: 1176px;
  overflow: visible;
}

/* Form field containers */
.email-field, .password-field {
  width: 556px;
  height: 116px;
  position: relative;
  margin-bottom: 20px;
}

.password-field {
  top: 20px;
}

.toggle-password {
  position: relative;
  right: 10px;
  top: 10%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 24px;
  height: 24px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form labels */
.field-label {
  width: 228px;
  color: rgba(255,255,255,1);
  position: absolute;
  top: 0px;
  left: 16px;
  font-family: Lalezar;
  font-weight: Regular;
  font-size: 24px;
  opacity: 1;
  text-align: left;
  display: block;
}

/* Form inputs */
.form-input {
  width: 556px;
  height: 62px;
  background: rgba(255,255,255,1);
  position: absolute;
  top: 54px;
  left: 0px;
  border: none;
  border-radius: 20px;
  padding: 0 20px;
  font-family: Inter;
  font-weight: Regular;
  font-size: 16px;
  color: rgba(12,6,6,1);
  outline: none;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: rgba(12,6,6,0.6);
  opacity: 1;
}

.form-input:focus {
  box-shadow: 0 0 0 2px rgba(1,30,145,0.3);
}
/* Login options container */
.login-options {
  width: 540px;
  height: 30px;
  position: absolute;
  top: 270px;
  left: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Remember me container */
.remember-me-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Checkbox input */
.checkbox-input {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,1);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  position: relative;
}

.checkbox-input:checked {
  background: rgba(1,30,145,1);
}

.checkbox-input:checked::after {
  content: '✓';
  color: white;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Login options*/
.login-options {
  position: absolute;
  margin-top: 50px;
}

/* Remember me label */
.remember-me {
  color: rgba(255,255,255,1);
  font-family: Inter;
  font-weight: Regular;
  font-size: 16px;
  cursor: pointer;
  margin: 0;
}

/* Forgot password link */
.forgot-password {
  color: rgba(255,255,255,1);
  font-family: Inter;
  font-weight: Extra Bold;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Login button */
.login-button {
  width: 214px;
  height: 50px;
  background: rgba(255,255,255,1);
  border: none;
  border-radius: 20px;
  position: absolute;
  top: 390px;
  left: 171px; /* Center the button */
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  background: rgba(240,240,240,1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.login-button:active {
  transform: translateY(0);
}

.button-text {
  color: rgba(1,30,145,1);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bolder;
  font-size: 30px;
  pointer-events: none;
}
.login-title {
  width: 222px;
  color: rgba(255,255,255,1);
  position: absolute;
  top: 206px;
  left: 1343px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: Bold;
  font-size: 40px;
  opacity: 1;
  text-align: left;
}

/* Loading Spinner Styles */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

.loading-spinner-dark {
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #333;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.button-loading {
  opacity: 0.7;
  cursor: not-allowed !important;
  pointer-events: none;
}

.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enhanced button states */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-loading {
  position: relative;
}

.form-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1000;
}
