.auth-form-container {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.auth-error {
  width: 100%;
  max-width: 500px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  background-color: #f8d7da;
}

.auth-error.show {
  display: flex;
}

.auth-success {
  display: none;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.auth-success.show {
  display: block;
}

.password-toggle {
  position: absolute;
  cursor: pointer;
  right: 12px;
  top: 57%;
}

.password-toggle:hover {
  background-color: #f4f4f4;
  color: var(--brand-primary);
}

.auth-form-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  max-width: 500px;
}

.auth-form-label {
  font-size: 1em;
  font-weight: 600;
  color: #585f67;
  margin-bottom: 5px;
  display: block;
}

.auth-form-control {
  color: #2a2a2a;
  background-color: #FFFFFF30;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2em;
  border: 1px solid #D9DFE7;
  width: 100%;
  max-width: 500px;
  height: 100%;
  outline: none;
  padding: 12px;
  border-radius: 3px;
}

.auth-form-control:focus {
  outline: none;
  border-color: #c02636;
  box-shadow: 0 0 0 2px rgba(194, 38, 54, 0.1);
}

.auth-form-control::placeholder {
  color: #999999;
}

.auth-form-control.has-icon {
  padding-right: 45px;
}

.auth-help-text {
  font-size: 12px;
  color: #666666;
  margin-top: 5px;
  display: block;
}

.auth-label-span {
  color: #666666;
  font-weight: 400;
  font-size: 12px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.auth-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.auth-checkbox input[type="checkbox"]:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.auth-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

.auth-checkbox input[type="checkbox"]:checked {
  background-color: #c02636;
  border-color: #c02636;
}

.auth-checkbox label {
  font-size: 14px;
  color: #2a2a2a;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

.auth-btn {
  width: fit-content;
  padding: 10px 30px;
  border: none;
  border-radius: 3px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.auth-btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.auth-btn-primary:hover {
  background-color: var(--brand-primary);
}

.login-container {
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.login-page-wrapper {
  min-height: calc(100vh - 200px);
  display: flex;
  padding: 70px 10px;
  align-items: center;
  justify-content: center;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1300px;
  gap: 30px;
  align-items: stretch;
}

.login-form-section {
  flex: 1.3;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  padding: 30px;
}

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

.login-hero-title {
  font-size: 1.5em;
  font-weight: 900;
  color: #2a2a2a;
  margin-bottom: 10px;
  line-height: 1.2;
}

.login-hero-subtitle {
  font-size: 1em;
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.login-submit-btn {
  margin-bottom: 10px;
}

.login-submit-btn:hover {
  background-color: #153a41;
}

.login-provider-btn {
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
}

.login-provider-btn:hover {
  background-color: #153a41;
}

.login-provider-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  object-fit: contain;
}

.login-terms-text {
  font-size: 0.8em;
  color: #666666;
  text-align: start;
  margin-bottom: 20px;
  line-height: 1.5;
}

.login-terms-link {
  color: #c02636;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-terms-link:hover {
  color: #a00d1e;
}

.login-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.login-link {
  color: var(--brand-primary);
  font-size: 1em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.login-no-account {
  font-size: 1em;
  color: var(--brand-primary);
  margin: 0;
}

.login-testimonials-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.login-testimonials-content {
  background-color: #fdf7f0;
  border-radius: 10px;
  padding: 40px 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 600px;
}

.login-testimonials-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0;
}

.login-testimonials-slider {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-testimonials-track {
  flex: 1;
  position: relative;
  min-height: 300px;
}

.login-testimonial-item {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-testimonial-text {
  font-size: 1.2em;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 30px;
}

.login-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-testimonial-avatar i {
  font-size: 1.5em;
  color: #999999;
}

.login-testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.login-testimonial-name {
  font-size: 1em;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0;
}

.login-testimonial-title {
  font-size: 0.9em;
  color: #666666;
  margin: 0;
}

.login-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.login-testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.login-testimonial-dot:hover {
  background-color: #999999;
}

.login-testimonial-dot.active {
  background-color: var(--brand-primary);
  width: 30px;
  border-radius: 5px;
}

.login-testimonials-statistic {
  font-size: 0.8em;
  color: #666666;
  margin: 0;
  text-align: start;
  line-height: 1.6;
}

.social-auth {
  margin-top: 20px;
  text-align: center;
}

.social-auth-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  display: block;
}

.social-auth-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 20px;
  border: 1px solid #dae1ed;
  border-radius: 5px;
  background-color: #ffffff;
  color: #02104d;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none;
}

.social-auth-btn:hover {
  background-color: #f4f4f4;
  border-color: #10a265;
  color: #10a265;
  transform: translateY(-1px);
}

.auth-link {
  color: #c02636;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #a01e2e;
  text-decoration: underline;
}

.auth-register-link {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
}

.auth-register-link a {
  color: #c02636;
  text-decoration: none;
}

.auth-register-link a:hover {
  color: #a01e2e;
  text-decoration: underline;
}

.auth-forgot-form {
  display: none;
}

.auth-forgot-form.active {
  display: block;
}

.auth-text-center {
  text-align: center;
}

.auth-text-small {
  font-size: 12px;
}

.auth-mt-1 {
  margin-top: 5px;
}

.auth-mt-2 {
  margin-top: 10px;
}

.auth-mt-3 {
  margin-top: 15px;
}

.auth-mt-4 {
  margin-top: 20px;
}

.auth-mb-1 {
  margin-bottom: 5px;
}

.auth-mb-2 {
  margin-bottom: 10px;
}

.auth-mb-3 {
  margin-bottom: 15px;
}

.auth-mb-4 {
  margin-bottom: 20px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 25px;
  text-align: center;
}

.auth-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #b8c5d6;
  margin-bottom: 30px;
  text-align: center;
}

.auth-btn.loading {
  color: transparent;
  pointer-events: none;
}

.auth-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  animation: auth_loading_rotate 1s infinite linear;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes auth_loading_rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.auth-panel {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.auth-panel-body {
  padding: 0;
}

@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
    gap: 30px;
  }

  .login-form-section {
    padding: 20px 0;
  }

  .login-testimonials-section {
    padding: 20px 0;
  }

  .login-testimonials-content {
    min-height: auto;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .login-page-wrapper {
    padding-top: 150px;
  }

  .auth-form-container {
    padding: 30px 20px;
    margin: 10px;
  }

  .auth-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .social-auth-btn {
    font-size: 13px;
    padding: 10px 15px;
  }

  .login-hero-title {
    font-size: 2em;
  }

  .login-hero-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .login-testimonials-content {
    padding: 30px 20px;
  }

  .login-testimonials-title {
    font-size: 1.5em;
  }

  .login-testimonial-text {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .auth-form-container {
    padding: 25px 15px;
  }

  .auth-title {
    font-size: 22px;
  }

  .auth-btn {
    font-size: 14px;
    padding: 10px 15px;
  }

  .login-hero-title {
    font-size: 1.75em;
  }

  .login-hero-subtitle {
    font-size: 0.95em;
  }

  .login-testimonials-content {
    padding: 25px 15px;
  }

  .login-testimonials-title {
    font-size: 1.3em;
  }
}

.auth-link {
  color: #c02636;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #c02636;
  text-decoration: underline;
}

.auth-text-center {
  text-align: center;
}

.auth-text-small {
  font-size: 12px;
}

.auth-mt-3 {
  margin-top: 15px;
}

.auth-forgot-form {
  display: none;
}

.forgot-form {
  display: none;
}

.register-link {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.register-link a {
  color: #c02636;
  text-decoration: none;
}

.register-link a:hover {
  color: #c02636;
  text-decoration: underline;
}

.social-login {
  margin-top: 20px;
  text-align: center;
}

.social-login-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  display: block;
}

.social-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 20px;
  border: 1px solid #dae1ed;
  border-radius: 5px;
  background-color: #ffffff;
  color: #02104d;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none;
}

.social-btn:hover {
  background-color: #f4f4f4;
  border-color: #10a265;
  color: #10a265;
  transform: translateY(-1px);
}