/* CyberWall Security RMM Login Branding */

body {
  margin: 0;
  background: #03111d;
}

.cyberwall-login {
  position: relative;
  min-height: 100vh !important;
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding: 5vh 6vw !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 25%, rgba(0,135,255,.18), transparent 35%),
    linear-gradient(120deg, #03111d 0%, #061a2b 48%, #020b13 100%) !important;
}

.cyberwall-login::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(0,145,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,145,255,.12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
  pointer-events: none;
}

.cyberwall-brand-panel {
  position: absolute;
  left: 6vw;
  top: 7vh;
  width: 48%;
  max-width: 760px;
  z-index: 2;
  color: white;
}

.cyberwall-brand-panel img {
  width: min(560px, 90%);
  height: auto;
  display: block;
  margin-bottom: 32px;
}

.cyberwall-kicker {
  font-size: 16px;
  letter-spacing: 5px;
  color: #aebdca;
  margin-bottom: 30px;
}

.cyberwall-brand-panel h1 {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  font-weight: 800;
}

.cyberwall-brand-panel h1 span {
  color: #078cf0;
}

.cyberwall-brand-panel p {
  max-width: 680px;
  font-size: 21px;
  line-height: 1.45;
  color: #e2e9ef;
}

.cyberwall-features {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 42px;
}

.cyberwall-feature {
  text-align: center;
  border-top: 2px solid rgba(0,145,255,.65);
  padding-top: 18px;
}

.cyberwall-feature strong {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
}

.cyberwall-feature small {
  color: #b8c7d3;
  line-height: 1.35;
}

.cyberwall-footer-text {
  margin-top: 55px;
  font-size: 24px;
  font-style: italic;
  color: white;
}

.cyberwall-footer-text span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 5px;
  font-style: normal;
  color: #b7c3cd;
}

.cyberwall-login > .q-card {
  position: relative;
  z-index: 5;
  width: min(510px, 40vw) !important;
  min-width: 440px;
  padding: 32px 34px 38px;
  border-radius: 18px !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
  color: #0a1420;
}

.cyberwall-login > .q-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 125px;
  background: url('/cyberwall-logo.png') center/contain no-repeat;
  margin-bottom: 6px;
}

.cyberwall-login > .q-card .text-h4 {
  font-size: 0 !important;
}

.cyberwall-login > .q-card .text-h4::after {
  content: "Sign In to Your Account";
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #101820;
}

.cyberwall-login > .q-card .q-field {
  margin-bottom: 8px;
}

.cyberwall-login > .q-card .q-btn {
  min-height: 54px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
}

@media (max-width: 1050px) {
  .cyberwall-brand-panel {
    display: none;
  }

  .cyberwall-login {
    justify-content: center !important;
  }

  .cyberwall-login > .q-card {
    width: min(520px, 90vw) !important;
    min-width: 0;
  }
}

/* Improve login field visibility */
.cyberwall-login .q-field--filled .q-field__control {
  background: #d8dde3 !important;
  border: 1px solid #9aa6b2 !important;
  border-radius: 7px !important;
}

.cyberwall-login .q-field__label {
  color: #344454 !important;
  font-weight: 600 !important;
}

.cyberwall-login .q-field__native,
.cyberwall-login .q-field__input {
  color: #071522 !important;
  font-weight: 600 !important;
}

.cyberwall-login .q-field__append {
  color: #344454 !important;
}

/* CyberWall dashboard header logo */
.cyberwall-dashboard-logo {
  height: 34px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}
