body,
html {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.login-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  background: var(--bg-page);
}

.login-left {
  flex: 1.3;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
}

.login-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.login-left-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.85) 0%,
    rgba(17, 24, 39, 0.85) 100%
  );
  z-index: 1;
}

.login-left-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  padding: 40px;
  position: relative;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  z-index: 5;
  min-width: 450px;
}

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

.login-header {
  margin-bottom: 40px;
  text-align: center;
}

.login-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.login-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-google:hover {
  background: #f8fafc;
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.login-footer {
  margin-top: 40px;
  text-align: center;
}

.login-footer p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.login-footer a {
  font-weight: 500;
  color: var(--bs-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .login-right {
    min-width: unset;
    width: 100%;
  }
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* mix-blend-mode: screen; */
}

/* Additional styles for the login form */
.login-form .form-label {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
  margin-bottom: 8px;
}

.login-form .input-group {
  border-radius: 12px;
}

.login-form .input-group-text {
  background-color: #ffffff;
  border-right: none;
  border-color: #e2e8f0;
  color: #94a3b8;
  padding-left: 16px;
}

.login-form .form-control {
  border-left: none;
  border-color: #e2e8f0;
  padding: 12px 16px 12px 0;
  font-size: 15px;
  color: #1e293b;
  background-color: #ffffff;
}

.login-form .form-control::placeholder {
  color: #94a3b8;
}

.login-form .toggle-pin {
  border-left: none;
  border-color: #e2e8f0;
  background-color: #ffffff;
  color: #94a3b8;
  padding-right: 16px;
}

.login-form .toggle-pin:hover {
  background-color: #ffffff;
  color: #1a73e8;
}

.login-form .form-control:focus {
  box-shadow: none;
  border-color: #1a73e8;
}

.login-form .input-group:focus-within .input-group-text,
.login-form .input-group:focus-within .toggle-pin {
  border-color: #1a73e8;
  color: #1a73e8;
}

.login-form .input-group:focus-within .form-control {
  border-color: #1a73e8;
}

.login-form .btn-primary {
  background: #1a73e8;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.login-form .btn-primary:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.login-form .btn-primary:active {
  transform: translateY(0);
}

.form-check-input:checked {
  background-color: #1a73e8;
  border-color: #1a73e8;
}

.login-form .text-muted {
  color: #94a3b8 !important;
  font-size: 13px;
  margin-top: 6px;
  display: inline-block;
}
