/* Ministerio Verbo da Vida - Portal de Recuperacao de Senha
   Paleta extraida do GLPI (suporte.covv.verbodavida.com):
   acento dourado #FEC95C (texto escuro #1E293B), azul acinzentado #3A5693,
   fundo claro #F5F7FB */

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background-color: #f5f7fb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: #1e293b;
  padding-top: 0;
}

.mvv-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.mvv-brand-panel {
  flex: 0 0 38%;
  max-width: 480px;
  background: linear-gradient(160deg, #1c2b4a 0%, #3a5693 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.mvv-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(254, 201, 92, 0.18), transparent 55%),
                     radial-gradient(circle at 85% 80%, rgba(58, 86, 147, 0.35), transparent 50%);
  pointer-events: none;
}

.mvv-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.mvv-logo {
  height: 42px;
  margin-bottom: 40px;
}

.mvv-tagline {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.mvv-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.mvv-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

.mvv-content-inner {
  width: 100%;
  max-width: 620px;
}

@media (max-width: 900px) {
  .mvv-shell {
    flex-direction: column;
  }
  .mvv-brand-panel {
    flex: none;
    max-width: 100%;
    padding: 32px 24px;
  }
  .mvv-tagline {
    font-size: 24px;
  }
  .mvv-content {
    padding: 32px 20px;
  }
}

/* Card / form */

.card {
  background-color: #ffffff !important;
  border: none;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(28, 43, 74, 0.10);
}

.card-body {
  padding: 48px 56px;
}

/* Title shown when the top menu is hidden (single-method portal) */
.title.alert.alert-success {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #1e293b;
  text-align: left !important;
  padding: 0 0 4px 0;
  margin-bottom: 4px;
}

.title.alert.alert-success::before {
  content: "ACESSO AO PORTAL";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #3a5693;
  background-color: #eaeef7;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}

.title.alert.alert-success h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

h1, h2, h3, .h1, .h2, .h3 {
  font-weight: 700;
  color: #1e293b;
}

/* Form rows: stack label above input instead of the cramped Bootstrap
   horizontal col-sm-4/col-sm-8 split, and give the whole form more room */
.form-horizontal .row {
  display: block;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px !important;
}

.form-horizontal .row label {
  display: block;
  width: 100%;
  max-width: 100%;
  flex: none;
  text-align: left !important;
  padding: 0 0 8px 0;
}

.form-horizontal .row > div[class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: none;
  margin-left: 0 !important;
}

/* offset-sm-* was meant to align content next to a side label; the label
   is now stacked on top, so the leftover offset just creates dead space */
.form-horizontal [class*="offset-"] {
  margin-left: 0 !important;
}

label {
  font-weight: 600;
  font-size: 13px;
  color: #475569;
}

.input-group {
  width: 100%;
}

/* Simple, single-box inputs (no separate icon segment) — matches GLPI's
   own login form: plain bordered field, icon removed for a cleaner look */
.input-group-text {
  display: none;
}

.input-group .form-control {
  border-radius: 8px;
}

.form-control {
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  padding: 11px 16px;
  background-color: #ffffff;
  font-size: 14px;
}

.form-control:focus {
  border-color: #3a5693;
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(58, 86, 147, 0.15);
}

.form-horizontal .row:has(.btn-primary),
.form-horizontal .row:has(.btn-success) {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.form-horizontal .row:has(.btn-primary) > div,
.form-horizontal .row:has(.btn-success) > div {
  text-align: center;
}

.btn-primary,
.btn-success {
  background-color: #fec95c;
  border: none;
  color: #1e293b;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 40px;
  box-shadow: 0 6px 16px rgba(254, 201, 92, 0.35);
}

.btn-primary:hover,
.btn-success:hover,
.btn-primary:focus,
.btn-success:focus {
  background-color: #fdbc3a;
  color: #1e293b;
  filter: none;
}

.alert {
  border-radius: 10px;
  border: none;
}

.alert-success {
  background-color: #ecfdf3;
  color: #027a48;
}

.alert-danger {
  background-color: #fef3f2;
  color: #b42318;
}

.alert-warning {
  background-color: #fffaeb;
  color: #93650a;
}

.alert-warning a {
  color: #3a5693;
  font-weight: 600;
}

div#footer {
  position: static;
  background-color: transparent !important;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  margin-top: 28px;
  padding: 0;
}

/* Neutralize the alert-info wrapper used as a plain form container in sendtoken/resetbytoken */
.alert-info {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Keep the captcha image + input side-by-side instead of stacked, and
   center the whole captcha block since it's narrower than the form */
.row:has(.captcha) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.row:has(.captcha) > div {
  width: auto !important;
  flex: none !important;
  padding: 0 !important;
}
.row:has(.captcha) .input-group {
  flex: none;
  width: 200px;
}
.captcha img {
  border-radius: 8px;
}
