*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.login-page {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f3f4f6;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* ====== CONTAINER ====== */
.login-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ====== BRAND PANEL (left) ====== */
.login-brand {
  flex: 0 0 42%;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.login-brand::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(96,165,250,.08);
}
.login-brand::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(96,165,250,.06);
}
.brand-content { position: relative; z-index: 1; max-width: 320px; }
.brand-logo {
  width: 58px; height: 58px;
  background: rgba(96,165,250,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #60a5fa;
  margin-bottom: 24px;
}
.brand-content h1 {
  color: #fff; font-size: 42px; font-weight: 800; line-height: 1.1;
  margin-bottom: 16px;
}
.brand-content h1 span { color: #60a5fa; }
.brand-content p { color: #9ca3af; font-size: 15px; line-height: 1.6; }

/* ====== FORM PANEL (right) ====== */
.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: #fff;
}
.login-form-inner { width: 100%; max-width: 380px; }

.login-form-header { margin-bottom: 28px; }
.login-form-header h2 { font-size: 22px; font-weight: 700; color: #111827; }
.login-form-header p  { font-size: 14px; color: #6b7280; margin-top: 4px; }

.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: #374151; margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 10px 13px;
  border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 14px; color: #111827; background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.form-control:focus {
  border-color: #6b7280;
  box-shadow: 0 0 0 3px rgba(107,114,128,.12);
}

.password-rules {
  list-style: none; margin-bottom: 16px;
}
.password-rules li {
  font-size: 12px; color: #16a34a; display: flex;
  align-items: center; gap: 6px; margin-bottom: 4px;
}

.msg-erro {
  display: none; margin-bottom: 12px;
  padding: 10px 13px; border-radius: 8px;
  background: #fee2e2; color: #dc2626;
  border: 1px solid #fca5a5; font-size: 13px;
}
.alert-success-box {
  margin-bottom: 12px;
  padding: 10px 13px; border-radius: 8px;
  background: #dcfce7; color: #16a34a;
  border: 1px solid #86efac; font-size: 13px;
}

.btn-login {
  width: 100%; padding: 11px;
  background: #111827; color: #fff;
  border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s;
  font-family: inherit; margin-bottom: 16px;
}
.btn-login:hover { background: #1f2937; }

.forgot-link {
  display: block; text-align: center;
  font-size: 13px; color: #6b7280;
  text-decoration: none; transition: color .15s;
}
.forgot-link:hover { color: #111827; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #6b7280; text-decoration: none;
  transition: color .15s;
}
.back-link:hover { color: #111827; }

.conteiner_esqueci_a_senha { display: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .login-brand { display: none; }
  .login-form-panel { padding: 32px 24px; }
}
