:root {
  --gn-login-bg: #0b1f4a;
  --gn-login-bg-2: #132b64;
  --gn-login-primary: #4067ff;
  --gn-login-text: #0c1633;
  --gn-login-muted: #5c6c8a;
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-auth {
  padding: 72px clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.login-logo {
  width: 18px;
  height: 22px;
  background: linear-gradient(180deg, #0a49ff, #48a2ff);
  border-radius: 2px;
  transform: skewY(-10deg);
}

.login-brand-text {
  font-weight: 700;
  color: #1a2a55;
  letter-spacing: 0.2px;
}

.login-muted {
  margin: 0 0 24px;
  color: var(--gn-login-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.login-form label {
  font-size: 14px;
  color: #1b2a55;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  margin-top: 6px;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid #d9e1f2;
  background: #fff;
  font-size: 16px;
  outline: none;
}

.login-form input:focus {
  border-color: #8fb4ff;
  box-shadow: 0 0 0 3px rgba(64, 103, 255, 0.15);
}
.login-selectBox input:focus{
  border:none;
  /* border-color: #8fb4ff; */
  box-shadow: none;
}

.login-selectBox.dx-texteditor.dx-state-active.dx-editor-filled, .dx-texteditor.dx-state-active.dx-editor-outlined, .dx-texteditor.dx-state-active.dx-editor-underlined, .dx-texteditor.dx-state-focused.dx-editor-filled, .dx-texteditor.dx-state-focused.dx-editor-outlined, .dx-texteditor.dx-state-focused.dx-editor-underlined {
  border-color: #8fb4ff;
  box-shadow: 0 0 0 3px rgba(64, 103, 255, 0.15);
}
.login-password {
  position: relative;
  display: flex;
  align-items: center;
}

.login-password input {
  flex: 1;
  padding-right: 42px;
}

.login-toggle-eye {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 32px;
}

.login-toggle-eye:hover {
  opacity: 1;
}

.login-row {
  display: flex;
  justify-content: flex-end;
}

.login-forgot {
  font-size: 14px;
  color: #4067ff;
  text-decoration: none;
}

.login-primary {
  margin-top: 8px;
  background: #4067ff;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(64, 103, 255, 0.25);
}

.login-primary:hover {
  filter: brightness(1.05);
}

.login-small {
  font-size: 14px;
  color: var(--gn-login-muted);
}

.login-small a {
  color: #4067ff;
  text-decoration: none;
}

.login-showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    120% 120% at 20% 10%,
    #0f2b6a 0%,
    #0b1f4a 40%,
    #081a3c 100%
  );
  color: #dfe8ff;
}

.login-ribbon {
  position: absolute;
  top: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bcd1ff;
  font-size: 14px;
}

.login-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.login-sep {
  opacity: 0.4;
}

.login-tagline {
  opacity: 0.9;
}

.login-cards {
  position: relative;
  width: min(800px, 90%);
  height: 520px;
}

.login-card {
  position: absolute;
  display: block;
  width: 70%;
  max-width: 780px;
  filter: drop-shadow(0 16px 28px rgba(0, 15, 80, 0.45));
  transform: rotate(-3deg);
  transition: transform 0.4s ease, filter 0.4s ease;
  user-select: none;
  pointer-events: none;
}

.login-card--ts {
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.login-card--kpi {
  bottom: 0;
  left: 0;
  width: 44%;
  transform: rotate(-6deg);
}

.login-card--basket {
  bottom: 0;
  right: 0;
  width: 46%;
  transform: rotate(4deg);
}

.login-card:hover {
  filter: drop-shadow(0 24px 40px rgba(0, 20, 100, 0.55));
}

@media (max-width: 1024px) {
  .login-cards {
    width: 92%;
    height: 480px;
  }
  .login-card--kpi,
  .login-card--basket {
    width: 48%;
  }
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-showcase {
    display: none;
  }
  body {
    background: #ffffff;
  }
}


/* overwrite dx selextbox style on login page */
/* Scope all overrides to the login form only */
.login-form .login-dx-reset .dx-texteditor,
.login-form .login-dx-reset .dx-dropdowneditor-input-wrapper,
.login-form .login-dx-reset .dx-texteditor-container {
  background: #fff !important;
  /* border: 1px solid #d9e1f2 !important; */
  border: none;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Kill the material “underlined” look if the theme adds it */
.login-form .login-dx-reset .dx-editor-underlined,
.login-form .login-dx-reset .dx-editor-underlined::before,
.login-form .login-dx-reset .dx-editor-underlined::after {
  border: none !important;
  box-shadow: none !important;
}

/* Input sizing to match email/password fields */
.login-form .login-dx-reset .dx-texteditor-input {
  padding: 14px 12px !important;
  font-size: 16px !important;
  height: 48px;               /* ensure same height */
  line-height: 20px;
  color: #0c1633 !important;
  border:none;
}

/* Focus ring like your inputs */
.login-form .login-dx-reset .dx-texteditor.dx-state-focused {
  border-color: #8fb4ff !important;
  box-shadow: 0 0 0 3px rgba(64,103,255,0.15) !important;
}

/* Remove hover tint and inner seams */
.login-form .login-dx-reset .dx-dropdowneditor.dx-state-hover,
.login-form .login-dx-reset .dx-dropdowneditor .dx-texteditor-input-container {
  background: transparent !important;
  border: none !important;
}

/* Arrow button – no divider line, keep layout clean */
.login-form .login-dx-reset .dx-dropdowneditor-button,
.login-form .login-dx-reset .dx-dropdowneditor .dx-button {
  background: transparent !important;
  border-left: none !important;
}

/* Popup list look */
.login-form .dx-dropdownlist-popup-wrapper .dx-list {
  font-size: 15px !important;
  color: #0c1633 !important;
}


/* Make the right column full height */
.signup-showcase {
  height: 100%;
  width: 100%;
  background: var(--gn-login-bg); /* same deep blue as login */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

