/* Demo theme for the sign-in screens: AutoQA brand background (purple gradient with the
   blue gradient circles from the AutoQA design package) and the form as a floating 3D card. */

.agent-assist-admin-login-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  justify-content: center !important;
  padding: 24px 16px;
  box-sizing: border-box;
  background: linear-gradient(164deg, #360062 11.13%, #5a00a8 90.78%) !important;
}

/* The two decor circles, placed like the AutoQA intro panel: top right and bottom left. */
.agent-assist-admin-login-page::before,
.agent-assist-admin-login-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 1158px;
  aspect-ratio: 1;
  background: url(/dashboard/static/media/autoqa-decor-circle.png) center / cover no-repeat;
  pointer-events: none;
}
.agent-assist-admin-login-page::before { bottom: calc(100% - 400px); right: -710px; }
.agent-assist-admin-login-page::after { top: calc(100% - 220px); left: -320px; }
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  .agent-assist-admin-login-page::before,
  .agent-assist-admin-login-page::after {
    background-image: url(/dashboard/static/media/autoqa-decor-circle@2x.png);
  }
}

/* The card: a flat, straight white slab with visible thickness, lifted off the page. No tilt, no motion. */
.agent-assist-admin-login-container {
  position: relative !important;
  z-index: 1;
  width: min(440px, 100%) !important;
  height: auto !important;
  box-sizing: border-box;
  padding: 36px 36px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  border-radius: 20px;
  transform: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    /* slab edge, stacked down and to the right */
    1px 1px 0 #e9e1f7, 2px 2px 0 #e2d8f4, 3px 3px 0 #dacdf0, 4px 4px 0 #d2c2ec,
    5px 5px 0 #c9b7e7, 6px 6px 0 #bfaae1, 7px 7px 0 #b49ddb, 8px 8px 0 #a990d4,
    /* lift */
    18px 26px 40px rgba(10, 0, 40, .45),
    30px 60px 90px rgba(10, 0, 40, .45);
}
.agent-assist-admin-login-container::after {
  /* soft light on the card face */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}
.agent-assist-admin-login-container > * { position: relative; z-index: 1; }

.agent-assist-login-form { margin-top: 26px !important; }

@media (max-width: 600px) {
  .agent-assist-admin-login-container { padding: 28px 22px 20px; }
}
