body.account-page {
  background: #f4f7fb;
}

.rvcrm-login-shell {
  min-height: 100vh;
}

.rvcrm-login-form {
  max-width: 520px;
  margin-inline: auto;
}

.rvcrm-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #172033;
  text-decoration: none;
}

.rvcrm-login-brand:hover {
  color: #172033;
}

.rvcrm-login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0d6efd, #0b57d0);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(13, 110, 253, 0.2);
}

.rvcrm-login-brand-text {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rvcrm-login-visual {
  position: relative;
}

.rvcrm-login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.12), rgba(15, 23, 42, 0.26));
}

.rvcrm-login-form .alert {
  margin-bottom: 1rem;
}

.rvcrm-login-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.rvcrm-login-secondary-action {
  font-weight: 600;
  text-decoration: none;
}

.rvcrm-login-secondary-action:hover {
  text-decoration: underline;
}

.rvcrm-forgot-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #dbe5f0;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.rvcrm-forgot-panel-copy {
  margin-bottom: 1rem;
}

.rvcrm-forgot-panel-copy h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.rvcrm-forgot-panel-copy p {
  margin: 0;
  color: #66758b;
  font-size: 0.94rem;
  line-height: 1.5;
}

/* Floating label fields */
.rvcrm-float-field {
  position: relative;
}

.rvcrm-float-field input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 0.875rem;
  border: 1.5px solid #ced4da;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  line-height: 1.4;
  height: 2.75rem;
}

.rvcrm-float-field input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.rvcrm-float-field label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.9375rem;
  color: #6c757d;
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease, transform 0.15s ease;
  margin: 0;
  line-height: 1;
  background: #fff;
  padding: 0 0.25rem;
}

.rvcrm-float-field input:focus ~ label,
.rvcrm-float-field input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: #0d6efd;
  font-weight: 600;
}

.rvcrm-float-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  pointer-events: none;
  font-size: 1rem;
  transition: color 0.15s;
}

.rvcrm-float-field input:focus ~ .rvcrm-float-icon {
  color: #0d6efd;
}

@media (max-width: 991.98px) {
  .rvcrm-login-visual {
    display: none;
  }
}
