/* ========================================================== */
/* MQ Auth Pages (Modernized)                                 */
/* Scoped via: body.mq-page--auth                             */
/* Uses same hero background image as landing: hero-bg.jpg     */
/* ========================================================== */

:root{
  --mq-accent: #33adbd;
  --mq-accent-2: #7ec372;
  --mq-primary: #4285f4;
  --mq-ink: #0b1c2c;
  --mq-text: #152235;
  --mq-muted: rgba(255,255,255,.78);
  --mq-shadow-lg: 0 30px 80px rgba(10, 35, 57, .28);
  --mq-shadow-md: 0 16px 42px rgba(10, 35, 57, .18);
}

html, body.mq-page--auth{
  height: 100%;
}

body.mq-page--auth{
  background: #0b1c2c;
  font-family: 'Roboto', 'Open Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

/* Background wrapper from admin template */
body.mq-page--auth .login-register{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay */
body.mq-page--auth .login-register::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,52,87,.92) 0%, rgba(25,67,111,.78) 45%, rgba(51,173,189,.30) 100%);
  opacity: .92;
  z-index: 0;
}

/* Subtle ambient blobs */
body.mq-page--auth .login-register::after{
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(126,195,114,.55) 0%, rgba(51,173,189,.22) 40%, rgba(66,133,244,0) 70%);
  filter: blur(10px);
  opacity: .85;
  z-index: 0;
  animation: mqAuthFloat 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mqAuthFloat{
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, -10px, 0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce){
  body.mq-page--auth .login-register::after{
    animation: none !important;
  }
}

/* Card */
body.mq-page--auth .login-box.card{
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 0;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  box-shadow: var(--mq-shadow-lg);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.mq-page--auth .card-body{
  padding: 26px 24px;
}
@media (max-width: 420px){
  body.mq-page--auth .card-body{ padding: 22px 18px; }
}

/* Brand */
body.mq-page--auth .mq-auth__brand{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
body.mq-page--auth .mq-auth__brand img{
  height: 30px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

/* Headings */
body.mq-page--auth h3.box-title{
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(255,255,255,.96);
  margin-bottom: 18px !important;
}
body.mq-page--auth h4{
  color: rgba(255,255,255,.88);
}

/* Default text inside auth card (fixes low-contrast inherited admin styles) */
body.mq-page--auth .login-box,
body.mq-page--auth .login-box .card-body{
  color: rgba(255,255,255,.88);
}
body.mq-page--auth .login-box p,
body.mq-page--auth .login-box span,
body.mq-page--auth .login-box small{
  color: rgba(255,255,255,.86);
}
body.mq-page--auth .login-box .text-muted{
  color: rgba(255,255,255,.70) !important;
}
body.mq-page--auth .checkbox label,
body.mq-page--auth label{
  color: rgba(255,255,255,.86) !important;
}

/* Inputs */
body.mq-page--auth .form-control{
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
  line-height: 1.2 !important;
  box-sizing: border-box;
}
body.mq-page--auth textarea.form-control{
  height: auto;
}
body.mq-page--auth .form-control::placeholder{
  color: rgba(255,255,255,.68);
}
body.mq-page--auth input.form-control::-webkit-input-placeholder{
  line-height: 1.2;
}
body.mq-page--auth input.form-control::-moz-placeholder{
  line-height: 1.2;
}
body.mq-page--auth input.form-control:-ms-input-placeholder{
  line-height: 1.2;
}
body.mq-page--auth input.form-control:-moz-placeholder{
  line-height: 1.2;
}
body.mq-page--auth .form-control:focus{
  border-color: rgba(51,173,189,.55) !important;
  box-shadow: 0 0 0 4px rgba(51,173,189,.18) !important;
}

/* Buttons */
body.mq-page--auth .btn.btn-info{
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--mq-accent) 0%, var(--mq-accent-2) 100%) !important;
  box-shadow: 0 14px 36px rgba(51,173,189,.24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.mq-page--auth .btn.btn-info:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(51,173,189,.30);
  filter: saturate(1.03);
}
body.mq-page--auth .btn.btn-info:active{
  transform: translateY(0);
}

/* Links */
body.mq-page--auth a{
  color: rgba(255,255,255,.92);
}
body.mq-page--auth a.text-info{
  color: rgba(255,255,255,.96) !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
}
body.mq-page--auth a.text-dark{
  color: rgba(255,255,255,.86) !important;
}
body.mq-page--auth a:hover{
  color: #fff;
}

/* Small spacing fixes for legacy grid wrappers */
body.mq-page--auth .form-group{
  margin-bottom: 16px;
}
body.mq-page--auth .form-group .col-xs-12,
body.mq-page--auth .form-group .col-md-12,
body.mq-page--auth .form-group .col-sm-12{
  padding-left: 0;
  padding-right: 0;
}
body.mq-page--auth .m-b-0{
  margin-bottom: 0 !important;
}

/* Small helper text */
body.mq-page--auth .text-danger{
  color: #ffb3b3 !important;
}

/* Reduce legacy preloader visual noise */
body.mq-page--auth .preloader{
  display: none !important;
}


