/* Facebook login and approval UI; scoped to the existing account modal. */
#loginModal [data-facebook-flow236],
#loginModal .fb236-entry,
#loginModal .fb236-panel {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
#loginModal .fb236-entry[hidden],
#loginModal .fb236-panel[hidden],
#loginModal .fb236-feedback[hidden],
#loginModal .fb236-form[hidden] {
  display: none !important;
}
#loginModal[data-facebook-flow236="true"] #authLoggedOutView > .auth-tabs,
#loginModal[data-facebook-flow236="true"] #realLoginForm,
#loginModal[data-facebook-flow236="true"] #realSignupForm,
#loginModal[data-facebook-flow236="true"] #authFeedback215,
#loginModal[data-facebook-flow236="true"] #loginModalDesc {
  display: none !important;
}
#loginModal .fb236-entry { margin: 16px 0; }
#loginModal .fb236-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #166fe5;
  border-radius: 8px;
  background: #1877f2;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
#loginModal .fb236-button:hover:not(:disabled) { background: #166fe5; }
#loginModal .fb236-button:disabled { opacity: .65; cursor: wait; }
#loginModal .fb236-mark {
  flex: 0 0 20px;
  width: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
#loginModal .fb236-or {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
  overflow-wrap: anywhere;
}
#loginModal .fb236-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #172b4d;
  overflow-wrap: anywhere;
}
#loginModal .fb236-panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}
#loginModal .fb236-panel p { margin: 0 0 16px; line-height: 1.65; }
#loginModal .fb236-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
  margin: 16px 0;
}
#loginModal .fb236-form label {
  margin: 7px 0 0;
  font-weight: 600;
  line-height: 1.5;
}
#loginModal .fb236-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  background: #fff;
  color: #172b4d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
#loginModal .fb236-form small { color: #475569; line-height: 1.6; }
#loginModal .fb236-form > button { margin-top: 10px; }
#loginModal .fb236-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
#loginModal .fb236-actions button,
#loginModal .fb236-form > button {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
#loginModal .fb236-actions button { flex: 1 1 150px; }
#loginModal .fb236-actions button:disabled,
#loginModal .fb236-form button:disabled { opacity: .65; cursor: wait; }
#loginModal .fb236-feedback {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid #b45309;
  border-radius: 4px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
#loginModal .fb236-button:focus-visible,
#loginModal .fb236-panel button:focus-visible,
#loginModal .fb236-form input:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}
@media (max-width: 380px) {
  #loginModal .fb236-panel { padding: 12px; }
  #loginModal .fb236-actions { flex-direction: column; }
  #loginModal .fb236-actions button { flex-basis: auto; width: 100%; }
}
