/* Salon Park Clone Runtime & Staff Bar Styles (release: editor-1201)
   Phone-first login controls (16px text, >=44px tap targets), staff admin bar,
   draft preview banner, FAQ items, and professional portfolio gallery. */

/* production: staff bar is hidden for the public; shown only when a signed-in staff user mounts the edit button */
.sp-preview-bar { display: none; }
.sp-preview-bar.sp-bar-on { display: flex; }
.sp-preview-bar {
  background: #0a2045;
  color: #ffffff;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
  padding: 6px 12px;
  position: relative;
  z-index: 99999;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sp-preview-bar a {
  color: #f9b8d4;
  text-decoration: underline;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
}
.sp-preview-bar .sp-admin-edit-btn {
  background: #9e3562;
  color: #ffffff !important;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
}
.sp-preview-bar .sp-admin-edit-btn:hover {
  background: #81284e;
}

.sp-draft-banner {
  background: #fff4db;
  color: #6b3f00;
  border-bottom: 2px solid #e2b96b;
  padding: 10px 16px;
  text-align: center;
  font: 600 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.sp-draft-banner a {
  color: #0a2045;
  font-weight: 700;
  margin-left: 8px;
  text-decoration: underline;
}

.sp-site-announcement {
  background: #9e3562;
  color: #ffffff;
  padding: 10px 16px;
  text-align: center;
  font: 600 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.sp-site-announcement a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 10px;
  padding: 6px 14px;
  background: #ffffff;
  color: #0a2045;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
}

/* Phone-first Login Form (16px text, >=44px tap targets) */
.sp-login-wrap,
.sp-search-wrap {
  max-width: 480px;
  margin: 30px auto 60px;
  font-size: 16px;
  line-height: 1.5;
}
.sp-search-wrap {
  max-width: 780px;
}
.sp-login-note {
  font-size: 16px;
  color: #333333;
  margin-bottom: 18px;
}
.sp-login-form label {
  display: block;
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 16px;
  color: #1a2332;
}
.sp-login-form input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  margin-top: 6px;
  font-weight: 400;
}
.sp-login-form .button,
#sp-go-hq,
#sp-signout {
  min-height: 46px;
  padding: 10px 18px;
  margin: 6px 8px 6px 0;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}
#sp-forgot {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  padding: 4px 6px;
}

.sp-ok {
  color: #1b6e32;
  font-weight: 600;
  font-size: 16px;
}
.sp-err {
  color: #a81828;
  font-weight: 600;
  font-size: 16px;
}

.sp-results li {
  margin: 0 0 16px;
  list-style: none;
}
.sp-results a {
  font-size: 18px;
  font-weight: 600;
}
.sp-search-page input {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 16px;
  width: 70%;
  border: 1px solid #94a3b8;
}
.wpcf7-response-output.sp-ok,
.wpcf7-response-output.sp-err {
  display: block !important;
  border: 2px solid currentColor;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 16px;
}

/* Tenant Profile Enhancements */
.sp-tenant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.sp-book-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #9e3562;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.sp-social-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #0a2045;
  color: #0a2045 !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.sp-tenant-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.sp-tenant-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d5dbe3;
}

/* Clean Accessible FAQ Accordion on Leasing Pages */
.sp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.sp-faq-item {
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px 14px;
}
.sp-faq-item summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #0a2045;
  cursor: pointer;
}
.sp-faq-item .sp-faq-ans {
  padding: 4px 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #333333;
}

/* Dynamic Page Content Sections */
.sp-dynamic-section {
  margin: 24px 0;
}
.sp-dynamic-section img.sp-sec-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 12px 0;
}
.sp-dynamic-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #0a2045;
  color: #ffffff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 8px;
}

/* Public professionals list / search results: Sort control */
.sp-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px;
  font-size: 16px;
}
.sp-sort-bar label {
  font-weight: 700;
  white-space: nowrap;
}
.sp-sort-bar select {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 16px;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
}
