/* ══════════════════════════════════════════════════════════
   PF LOGIN — pf-login.css
   Paleta: --pf-primary #16685e / --pf-primary-dark #0f4a43
══════════════════════════════════════════════════════════ */

/* ── reset page padding from base layout ──────────────── */
body.blank-page .app-content,
.app-content { padding: 0 !important; }
.content-wrapper { padding: 0 !important; }
.header-navbar-shadow { display: none; }

/* ── full-height split ─────────────────────────────────── */
.pfl-page {
  display: flex;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
}

/* ── LEFT PANEL ────────────────────────────────────────── */
.pfl-left {
  flex: 0 0 45%;
  background: linear-gradient(145deg, #1e8a7d 0%, #16685e 45%, #0f4a43 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

/* decorative circles via pseudo-elements */
.pfl-left::before,
.pfl-left::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.pfl-left::before { width: 340px; height: 340px; top: -80px; right: -80px; }
.pfl-left::after  { width: 220px; height: 220px; bottom: -60px; left: -60px; }

/* extra small circles (via span.pfl-circle-sm) */
.pfl-circle-sm {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

/* brand block */
.pfl-brand {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.pfl-brand-logo-wrap {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 20px 32px;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.pfl-brand img {
  max-width: 320px;
  width: 100%;
  display: block;
}

.pfl-brand-divider {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin: 20px auto;
  border-radius: 2px;
}

.pfl-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 260px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ── RIGHT PANEL ───────────────────────────────────────── */
.pfl-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.pfl-form-box {
  width: 100%;
  max-width: 380px;
}

.pfl-form-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.pfl-form-sub {
  font-size: 0.85rem;
  color: #8a9ab0;
  margin-bottom: 36px;
}

/* ── form groups ───────────────────────────────────────── */
.pfl-form-group {
  margin-bottom: 22px;
}

.pfl-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.pfl-form-group label .pfl-required {
  color: #e53e3e;
  margin-left: 2px;
}

.pfl-form-group .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  height: 46px;
  font-size: 0.9rem;
  color: #2d3748;
  background: #f8fafc;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pfl-form-group .form-control:focus {
  border-color: #16685e;
  box-shadow: 0 0 0 3px rgba(22, 104, 94, 0.15);
  background: #fff;
  outline: none;
}

.pfl-form-group .form-control::placeholder {
  color: #a0aec0;
}

/* ── esqueci senha ─────────────────────────────────────── */
.pfl-forgot {
  display: block;
  text-align: right;
  font-size: 0.78rem;
  color: #16685e;
  text-decoration: none;
  margin-top: 6px;
  font-weight: 500;
}

.pfl-forgot:hover {
  text-decoration: underline;
}

/* ── botão submit ──────────────────────────────────────── */
.pfl-btn-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1e8a7d 0%, #16685e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(22, 104, 94, 0.4);
}

.pfl-btn-submit:hover  { opacity: 0.92; }
.pfl-btn-submit:active { transform: scale(0.98); }

/* ── alerta de erro ────────────────────────────────────── */
.pfl-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-left: 4px solid #fc8181;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: #c53030;
}

/* ── responsivo ────────────────────────────────────────── */
@media (max-width: 768px) {
  .pfl-left  { display: none; }
  .pfl-right { padding: 40px 24px; }
}
