/* Accounts: sign-in / account / saved pages + the save hearts */
.ac-main { padding: 48px 24px 64px; background: var(--off-white); min-height: 42vh; }
.ac-wrap { max-width: 520px; }
.ac-card {
  background: white; border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 28px; box-shadow: var(--shadow);
}
.ac-card + .mohel-grid { margin-top: 24px; }
.ac-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.ac-hidden { display: none !important; }
.ac-muted { color: var(--gray-400); font-size: 0.9rem; }

.ac-tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 2px solid var(--gray-100); }
.ac-tab {
  flex: 1; background: none; border: none; cursor: pointer; padding: 10px 8px;
  font-size: 0.9rem; font-weight: 700; color: var(--gray-400);
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all var(--transition);
}
.ac-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }

.ac-form { display: flex; flex-direction: column; }
.ac-label {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--gray-400); margin: 14px 0 6px;
}
.ac-input {
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit; color: var(--gray-900); background: white;
}
.ac-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,107,0.10); }
.ac-hint { font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; }
.ac-submit { margin-top: 22px; justify-content: center; }
.ac-link {
  background: none; border: none; padding: 0; margin-top: 14px; cursor: pointer;
  color: var(--navy); font-weight: 600; font-size: 0.85rem;
  font-family: inherit; text-decoration: underline; align-self: flex-start;
}
.ac-link:hover { color: var(--gold); }
.ac-msg { margin-top: 16px; font-size: 0.88rem; color: var(--gray-700); min-height: 1.2em; }
.ac-msg.is-error { color: #b3261e; }
.ac-msg.is-ok { color: #1a6b3a; }

/* save heart */
.fav-btn {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: white; cursor: pointer;
  font-size: 1rem; line-height: 1; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.fav-btn:hover { border-color: var(--navy); transform: scale(1.08); }
.fav-btn.is-saved { border-color: #e0b4b4; background: #fff5f5; }
.fav-btn[disabled] { opacity: 0.5; cursor: wait; }
.mohel-card .mohel-name { padding-right: 40px; }

.pf-fav { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; }
.pf-fav .fav-btn {
  position: static; width: 38px; height: 38px;
  border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.12);
}
.pf-fav .fav-btn.is-saved { background: rgba(255,255,255,0.25); border-color: white; }
.pf-fav-label { font-size: 0.85rem; opacity: 0.85; color: white; }

/* claim link on profiles, claim + admin pages */
.pf-claim { margin-top: 10px; font-size: 0.88rem; color: var(--gray-700); }
.pf-claim a { color: var(--navy); font-weight: 700; }
textarea.ac-input { min-height: 110px; resize: vertical; font-family: inherit; }
.ad-list { display: grid; gap: 14px; }
.ad-item { border: 1px solid #e3e7ef; border-radius: var(--radius); padding: 14px 16px; background: var(--white); }
.ad-item h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.ad-item p { font-size: 0.88rem; color: var(--gray-700); margin: 2px 0; overflow-wrap: anywhere; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ad-actions .btn { padding: 8px 14px; font-size: 0.85rem; }
.ad-status { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: #eef1f7; color: var(--navy); }
.ad-status.approved { background: #e3f4ea; color: #1a6b3a; }
.ad-status.rejected { background: #fbe9e7; color: #b3261e; }
.ad-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .ad-row2 { grid-template-columns: 1fr; } }
