:root {
  --analytics-blue: #173c96;
  --analytics-blue-dark: #112f80;
  --analytics-cyan: #28aeea;
  --analytics-light: #edf8ff;
  --analytics-border: #c9def5;
  --text-main: #173c96;
  --text-muted: #3f5a8a;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.login-wrapper {
  width: 100%;
  max-width: 1240px;
  padding: 32px;
}

.login-card {
  width: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid #e4f0fb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(23, 60, 150, 0.12);
}

.login-left {
  background: linear-gradient(135deg, #f4fbff 0%, #e5f5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}

.brand-content {
  width: 100%;
  max-width: 460px;
}

.logo {
  width: 110px;
  max-width: 100%;
  margin-bottom: 34px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(10, 31, 63, 0.18);
}

.login-left h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--analytics-blue-dark);
  margin-bottom: 18px;
}

.login-left p {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-muted);
}

.login-right {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}

.login-form {
  width: 100%;
  max-width: 430px;
}

.login-form h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--analytics-blue-dark);
  margin-bottom: 34px;
}

.login-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 4px solid #d93025;
  background: #fff2f2;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}

.login-alert i {
  font-size: 15px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--analytics-blue);
  margin-bottom: 10px;
}

.input-icon {
  position: relative;
  width: 100%;
}

.input-icon > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--analytics-blue);
  font-size: 16px;
  opacity: 0.75;
  pointer-events: none;
}

.input-icon input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--analytics-border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  padding: 0 18px 0 50px;
  outline: none;
  transition: all 0.2s ease;
}

.password-box input {
  padding-right: 54px;
}

.input-icon input::placeholder {
  color: #8096c5;
  font-weight: 500;
}

.input-icon input:focus {
  border-color: var(--analytics-cyan);
  box-shadow: 0 0 0 4px rgba(40, 174, 234, 0.14);
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--analytics-blue);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.toggle-password:hover {
  opacity: 1;
  color: var(--analytics-cyan);
}

.btn-login {
  width: 100%;
  height: 60px;
  margin-top: 10px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--analytics-blue) 0%, var(--analytics-cyan) 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 12px 24px rgba(40, 174, 234, 0.22);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(40, 174, 234, 0.28);
}

.btn-login:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .login-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-left,
  .login-right {
    padding: 44px 32px;
  }

  .brand-content,
  .login-form {
    max-width: 520px;
  }

  .login-left {
    text-align: center;
  }

  .logo {
    margin-left: auto;
    margin-right: auto;
  }

  .login-form h2 {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .login-wrapper {
    padding: 18px;
  }

  .login-card {
    border-radius: 18px;
  }

  .login-left,
  .login-right {
    padding: 34px 24px;
  }

  .logo {
    width: 90px;
  }

  .login-left h1 {
    font-size: 32px;
  }

  .login-form h2 {
    font-size: 28px;
  }

  .input-icon input,
  .btn-login {
    height: 54px;
  }
}