/* Perfect Media — split-card login (approximates the source design). */
:root { --pm-blue: #0289F7; --pm-blue-dark: #0273d4; }

body { background: #f4f5f6; }
.for-login {
  background: #f4f5f6 !important;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.pm-login-card {
  display: flex; width: 100%; max-width: 900px; min-height: 520px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 44px rgba(34,41,47,.13);
}
.pm-login-left {
  flex: 1.05;
  background: linear-gradient(160deg, #eaf4fe 0%, #d6ebfd 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 40px 32px; text-align: center;
}
.pm-login-left .pm-login-logo { width: 66px; height: 66px; object-fit: contain; }
.pm-login-left .pm-illus { width: 100%; max-width: 300px; height: auto; margin: 6px 0; }
.pm-login-left .pm-login-powered { color: #005ca3; font-weight: 600; font-size: 13.5px; letter-spacing: .3px; }
.pm-login-right {
  flex: 1; padding: 50px 46px;
  display: flex; flex-direction: column; justify-content: center;
}
.pm-login-heading h2 { font-weight: 700; color: #1a1a1a; margin: 0 0 6px; font-size: 24px; }
.pm-login-heading p { color: #6b7280; margin: 0 0 26px; font-size: 14px; }

/* neutralise the default card chrome so it sits inside the right panel */
.for-login .page-card-head { display: none !important; }
.for-login .login-content.page-card {
  background: transparent !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important;
  border: none !important;
}
.for-login .form-control {
  height: 48px !important; border-radius: 8px !important;
  border: 1px solid #d8d6de !important; background: #fff !important;
}
.for-login .form-control:focus { border-color: var(--pm-blue) !important; box-shadow: 0 0 0 2px rgba(2,137,247,.15) !important; }
.for-login .btn-login,
.for-login .btn-primary,
.for-login button[type="submit"] {
  background: var(--pm-blue) !important; border: none !important; color: #fff !important;
  border-radius: 24px !important; height: 46px !important; font-weight: 600 !important; width: 100% !important;
  box-shadow: 0 4px 12px rgba(2,137,247,.28) !important;
}
.for-login .btn-login:hover,
.for-login .btn-primary:hover { background: var(--pm-blue-dark) !important; }
.for-login a { color: var(--pm-blue) !important; }

@media (max-width: 760px) {
  .pm-login-card { flex-direction: column; max-width: 420px; min-height: 0; }
  .pm-login-left { display: none; }
  .pm-login-right { padding: 34px 28px; }
}
