:root {
  --blue: #1261f1;
  --blue-dark: #071736;
  --text: #0b1430;
  --muted: #7b849a;
  --line: #e8edf6;
  --line-strong: #dbe3f1;
  --shadow: 0 14px 36px rgba(12, 36, 78, 0.08);
  --menu-shadow: 0 20px 40px rgba(12, 36, 78, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at center, rgba(18, 97, 241, 0.03), transparent 38%),
    #fff;
}

.topbar {
  height: 76px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 34px;
}

.brand-name {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.login-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.signup-wrap {
  position: relative;
}

.signup-button {
  min-width: 112px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
  cursor: pointer;
}

.signup-menu[hidden] {
  display: none !important;
}

.signup-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--menu-shadow);
  display: grid;
  gap: 8px;
  z-index: 20;
}

.signup-option {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background-color 0.15s ease;
}

.signup-option:hover {
  background: #f5f8fe;
}

.signup-option strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.signup-option small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 20px 24px 28px;
}

.search-area {
  width: min(100%, 940px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-46px);
}

.hero-lockup {
  width: min(100%, 382px);
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.search-box {
  width: min(100%, 780px);
  height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.search-input {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.search-input svg {
  width: 21px;
  height: 21px;
  color: #77839a;
  flex: 0 0 auto;
}

.search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.search-input input::placeholder {
  color: #81889b;
}

.search-box button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.category-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 900px);
}

.category-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.pill-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}

.pill-icon svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 74px;
    padding: 14px 18px;
  }

  .brand-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-name { font-size: 18px; }
  .nav-actions { gap: 14px; }
  .signup-button { min-width: 102px; height: 42px; }

  .signup-menu {
    width: 220px;
    right: 0;
  }

  .hero {
    padding: 24px 18px 40px;
    place-items: center;
  }

  .search-area {
    transform: none;
  }

  .hero-lockup {
    width: min(100%, 320px);
    margin-bottom: 24px;
  }

  .search-box {
    height: auto;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .search-input {
    height: 54px;
    padding: 0 18px;
  }

  .search-input input {
    font-size: 16px;
  }

  .search-box button {
    height: 48px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .category-row {
    margin-top: 14px;
    gap: 8px;
  }

  .category-pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}


.results-page {
  background: #fff;
}

.results-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.results-card {
  width: min(100%, 760px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 34px;
}

.results-card h1 {
  margin: 14px 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.results-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.back-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.results-page {
  background: #fff;
}

.results-main {
  flex: 1;
  width: 100%;
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 34px 24px 56px;
}

.results-search-wrap {
  width: min(100%, 1180px);
  margin: 0 auto 38px;
  display: flex;
  justify-content: center;
}

.results-search {
  width: min(100%, 780px);
  height: 52px;
  grid-template-columns: 1fr 118px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(12, 36, 78, 0.05);
}

.results-search .search-input {
  gap: 12px;
  padding: 0 18px;
}

.results-search .search-input svg {
  width: 20px;
  height: 20px;
}

.results-search .search-input input {
  font-size: 14px;
}

.results-search button {
  font-size: 14px;
}

.results-container {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.results-heading h1 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--text);
}

.results-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.back-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.professional-card {
  min-height: 292px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
  display: flex;
  flex-direction: column;
}

.professional-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.professional-photo,
.professional-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.professional-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-weight: 800;
  font-size: 20px;
}

.professional-card h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
}

.professional-role {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.professional-city {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.professional-rating {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.professional-rating strong {
  color: var(--text);
  font-size: 15px;
}

.star {
  color: #f3b400;
  font-size: 18px;
  line-height: 1;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.professional-description {
  margin: 0 0 14px;
  min-height: 42px;
  color: #4f5f7b;
  font-size: 14px;
  line-height: 1.45;
}

.professional-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.professional-tags span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.professional-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.outline-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--blue);
  border-radius: 11px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-button {
  color: #0ea84a;
  border-color: #19bf5a;
}

.empty-results {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
}

.empty-results h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.empty-results p {
  margin: 0 0 20px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .professionals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .results-main {
    padding: 24px 18px 42px;
  }

  .results-search {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
  }

  .results-heading {
    display: block;
  }

  .professionals-grid {
    grid-template-columns: 1fr;
  }

  .professional-card {
    min-height: auto;
  }
}

.profile-page {
  background: #fff;
}

.profile-main {
  flex: 1;
  width: 100%;
  padding: 34px 24px 58px;
}

.profile-container {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.profile-hero-card {
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(12, 36, 78, 0.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.profile-hero-left {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.profile-photo,
.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
}

.profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
}

.profile-hero-card h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.profile-role {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
}

.profile-city {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.profile-rating strong {
  color: var(--text);
  font-size: 16px;
}

.profile-hero-actions {
  width: 230px;
  display: grid;
  gap: 10px;
  flex: 0 0 230px;
}

.primary-whatsapp {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #15b957;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(21, 185, 87, 0.16);
}

.profile-secondary {
  width: 100%;
}

.profile-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
}

.profile-panel {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 36, 78, 0.035);
}

.profile-grid .profile-panel {
  margin-top: 0;
}

.profile-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.profile-panel p {
  margin: 0;
  color: #4f5f7b;
  font-size: 15px;
  line-height: 1.55;
}

.profile-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.profile-contact .full {
  width: 100%;
  margin-top: 18px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title-row p {
  font-size: 14px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.work-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.work-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
}

.work-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.work-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-card,
.empty-reviews {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.review-head strong {
  font-size: 14px;
}

.review-head span {
  color: #f3b400;
  font-weight: 800;
  font-size: 14px;
}

.empty-reviews {
  color: var(--muted);
  font-size: 14px;
}

.profile-footer-actions {
  margin-top: 18px;
  text-align: right;
}

.report-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .profile-hero-card {
    display: block;
  }

  .profile-hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .profile-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-main {
    padding: 24px 18px 42px;
  }

  .profile-hero-card,
  .profile-panel {
    padding: 20px;
  }

  .profile-hero-left {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .profile-photo,
  .profile-avatar {
    width: 78px;
    height: 78px;
  }

  .profile-avatar {
    font-size: 22px;
  }
}

.form-main {
  flex: 1;
  padding: 36px 24px 58px;
}

.form-shell {
  width: min(100%, 860px);
  margin: 0 auto;
}

.form-card {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(12, 36, 78, 0.06);
  padding: 30px;
}

.form-head {
  margin-bottom: 24px;
}

.form-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.form-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.professional-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.professional-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.professional-form input,
.professional-form select,
.professional-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 600;
}

.professional-form textarea {
  resize: vertical;
}

.professional-form input:focus,
.professional-form select:focus,
.professional-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}


.field-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.field-help {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.specialties-field {
  display: grid;
  gap: 0;
}

.specialty-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.specialty-chip {
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s ease;
}

.specialty-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.specialty-chip.selected {
  border-color: var(--blue);
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.selected-specialties {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}


.photo-upload-field {
  display: grid;
  gap: 8px;
}

.field-title span {
  color: var(--muted);
  font-weight: 700;
}

.image-upload-button {
  width: fit-content;
  min-width: 108px;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 14px !important;
  border: 1.5px dashed #9b66ff !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #5b35c8 !important;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}

.image-upload-button:hover {
  background: rgba(91, 53, 200, 0.045) !important;
  border-color: #6d43e6 !important;
}

.image-upload-button span {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.image-upload-button small {
  display: block;
  color: #744cff;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.profile-photo-file {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profile-photo-file.has-file {
  color: var(--blue);
}

.description-textarea::placeholder {
  font-family: Calibri, Arial, sans-serif;
  font-weight: 400;
  color: #8992a6;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.form-actions button {
  height: 50px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 720px) {
  .form-card {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-head h1 {
    font-size: 28px;
  }
  .form-actions button {
    width: 100%;
  }
}

.form-note {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 97, 241, 0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.client-shell {
  max-width: 720px;
}

.client-card {
  max-width: 720px;
}

/* Cadastro cliente compacto em 2 linhas */
.client-shell {
  max-width: 960px;
}

.client-card {
  max-width: 960px;
}

.client-form-compact {
  gap: 14px;
}

.client-row {
  display: grid;
  gap: 14px;
  align-items: end;
}

.client-row-top {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.client-row-bottom {
  grid-template-columns: 1fr 190px;
}

.client-form-compact input {
  height: 46px;
}

.client-save-button {
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.client-row-single {
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr 170px;
}

.client-panel-form .client-save-button {
  align-self: end;
}

.client-panel-form .client-row-single label {
  margin: 0;
}

.client-panel-form {
  gap: 14px;
}

.client-note {
  margin-top: 2px;
}

@media (max-width: 820px) {
  .client-row-top,
  .client-row-bottom,
  .client-row-single {
    grid-template-columns: 1fr;
  }

  .client-save-button {
    width: 100%;
  }
}


/* Login e painéis */
.login-shell {
  width: min(100%, 520px);
}

.login-card {
  max-width: 520px;
}

.login-form {
  gap: 14px;
}

.login-form input {
  height: 48px;
}

.login-submit {
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.form-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
}

.login-create-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-create-row a {
  color: var(--blue);
  font-weight: 800;
}

.dashboard-main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px;
}

.dashboard-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard-card h1 {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.dashboard-card p {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.dashboard-info-grid {
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-info-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 97, 241, 0.035);
}

.dashboard-info-grid strong,
.dashboard-info-grid span {
  display: block;
}

.dashboard-info-grid strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-info-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 760px) {
  .dashboard-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Painel profissional editável */
.dashboard-edit-main {
  padding-top: 32px;
}

.dashboard-edit-shell {
  width: min(100%, 980px);
}

.dashboard-edit-card {
  padding: 28px;
}

.dashboard-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.dashboard-edit-head h1 {
  margin-bottom: 8px;
}

.dashboard-mini-preview {
  min-width: 178px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  text-align: center;
}

.dashboard-mini-preview img,
.dashboard-mini-preview span {
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  border-radius: 50%;
}

.dashboard-mini-preview img {
  display: block;
  object-fit: cover;
}

.dashboard-mini-preview span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-mini-preview strong,
.dashboard-mini-preview small {
  display: block;
}

.dashboard-mini-preview strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.dashboard-mini-preview small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.success-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 185, 87, 0.2);
  border-radius: 14px;
  background: rgba(21, 185, 87, 0.07);
  color: #0f8d43;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-edit-grid {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
}

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: end;
  gap: 16px;
}

.optional-label {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.dashboard-form-actions button {
  height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 97, 241, 0.16);
}

.dashboard-view-link {
  height: 46px;
  padding: 0 18px;
}

@media (max-width: 920px) {
  .dashboard-edit-head {
    display: block;
  }

  .dashboard-mini-preview {
    margin-top: 18px;
    min-width: 0;
    width: 100%;
  }

  .dashboard-edit-grid,
  .dashboard-lower-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-edit-grid,
  .dashboard-lower-grid,
  .dashboard-form-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-form-actions {
    display: grid;
  }

  .dashboard-view-link,
  .dashboard-form-actions button {
    width: 100%;
  }
}

/* Painel do cliente editável */
.client-panel-shell {
  width: min(100%, 980px);
}

.client-panel-card {
  padding: 28px;
}

.client-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.client-mini-preview span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.client-panel-form {
  gap: 14px;
}

.client-panel-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.client-panel-shortcuts a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .client-panel-head {
    display: block;
  }

  .client-mini-preview {
    margin-top: 18px;
    width: 100%;
  }
}

/* Admin */
.page-simple {
  background: #fff;
}

.form-page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 36px 24px 58px;
}

.form-card-small {
  width: min(100%, 460px);
  margin: 0;
}

.form-title {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.form-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.form-alert {
  margin: 0 0 16px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.form-alert-error {
  color: #9b1c1c;
  background: #fff0f0;
  border: 1px solid #ffd4d4;
}

.form-alert-success {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.one-column {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 600;
}

.primary-action {
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.admin-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-title {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.admin-toggle-card {
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.05);
}

.admin-toggle-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-toggle-card strong {
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.admin-grid-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-grid-summary article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.04);
}

.admin-grid-summary strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.admin-grid-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}

.admin-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 36, 78, 0.04);
  margin-top: 18px;
  overflow: hidden;
}

.admin-section-head {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.admin-section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.admin-section-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-weight: 900;
  background: #fbfcff;
}

.admin-table td strong {
  display: block;
  font-size: 14px;
}

.admin-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ok {
  color: #14613a;
  background: #eaf8f0;
}

.status-pill.off {
  color: #8a3a12;
  background: #fff3e8;
}

.status-pill.done {
  color: #22507a;
  background: #edf6ff;
}

.service-card-with-actions {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.service-card-with-actions form {
  margin: 0;
}

.actions-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.actions-cell form {
  margin: 0;
}

.small-button,
.small-link {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.small-button.danger {
  color: #b42318;
  border-color: #ffd5d0;
  background: #fff7f6;
}

.empty-cell {
  color: var(--muted);
  text-align: center !important;
  padding: 24px !important;
}

@media (max-width: 760px) {
  .admin-page {
    width: min(100%, calc(100% - 32px));
    padding: 24px 0 40px;
  }
  .admin-hero,
  .admin-grid-summary {
    grid-template-columns: 1fr;
    display: grid;
  }
  .admin-toggle-card {
    width: 100%;
  }
}

.review-form {
  margin: 14px 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 12px 13px;
  font-size: 14px;
  font-weight: 600;
  resize: vertical;
}

.review-form button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.review-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.success-message {
  border: 1px solid #bfe8cf;
  background: #eefaf3;
  color: #14613a;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.compact-success {
  margin: 12px 0;
}

.small-empty a {
  color: var(--blue);
  font-weight: 900;
}

.real-review-list {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .review-form-row {
    grid-template-columns: 1fr;
  }
  .review-form button {
    width: 100%;
  }
}

.service-form-shell {
  width: min(100%, 980px);
}

.service-form-card {
  padding-bottom: 28px;
}

.service-row {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.service-row-top {
  grid-template-columns: 1.05fr .95fr .95fr;
}

.service-row-middle {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.service-photo-field {
  margin: 0;
}

.panel-subsection {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.panel-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-subsection-head strong {
  font-size: 15px;
  font-weight: 900;
}

.panel-subsection-head a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.mini-service-list {
  display: grid;
  gap: 10px;
}

.mini-service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fbfcff;
  border-radius: 14px;
  padding: 12px;
}

.mini-service-card strong,
.service-card h2 {
  display: block;
  color: var(--text);
  font-weight: 900;
}

.mini-service-card small,
.service-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.services-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(12, 36, 78, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.service-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.service-card-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-card h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.service-whatsapp {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.full-empty {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .service-row-top,
  .service-row-middle,
  .service-grid {
    grid-template-columns: 1fr;
  }
}


.professional-name-block {
  min-width: 0;
}

.professional-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.highlight-badge,
.status-pill.highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #ffd86a;
  background: #fff7cf;
  color: #6f5200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.professional-card:has(.highlight-badge) {
  border-color: rgba(255, 216, 106, 0.9);
  box-shadow: 0 18px 42px rgba(111, 82, 0, 0.08);
}

.proposals-panel .panel-subsection-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.proposal-list {
  display: grid;
  gap: 10px;
}

.proposal-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
}

.proposal-main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.proposal-main strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.proposal-main small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.proposal-main p {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.proposal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.proposal-form {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.proposal-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.proposal-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.proposal-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 9px 10px;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.proposal-form input:focus {
  border-color: rgba(18, 97, 241, 0.42);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.08);
}

.proposal-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.proposal-info-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f4fb;
  color: #463958;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}

.admin-proposals-cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.proposal-form textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 12px;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.proposal-form textarea:focus {
  border-color: rgba(18, 97, 241, 0.42);
  box-shadow: 0 0 0 3px rgba(18, 97, 241, 0.08);
}

.services-success {
  margin-top: 12px;
}

@media (max-width: 720px) {
  .proposal-card {
    flex-direction: column;
  }

  .proposal-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .proposal-details-grid {
    grid-template-columns: 1fr;
  }
}

.service-history-line {
  color: #7c6f93;
  font-weight: 700;
}

.history-cell small {
  display: block;
  color: #665b78;
  line-height: 1.45;
  margin-bottom: 7px;
  max-width: 240px;
}

.history-cell small strong {
  color: #4d2f73;
}

.service-filters {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(12, 36, 78, 0.04);
}

.service-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.service-filters input,
.service-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  padding: 0 12px;
}

.service-filters input:focus,
.service-filters select:focus {
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.08);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  min-height: 42px;
}

.panel-filters,
.admin-service-filters {
  margin-bottom: 10px;
}

.filter-result-note,
.service-filter-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-service-filters {
  grid-template-columns: 1.2fr .7fr .8fr .8fr auto;
}

@media (max-width: 920px) {
  .service-filters,
  .admin-service-filters {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    justify-content: flex-start;
  }
}

.service-messages-preview {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8f7fb;
  border: 1px solid #eeeaf7;
}

.service-messages-preview small {
  display: block;
  color: #514b5e;
  line-height: 1.35;
}

.inline-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.inline-message-form input {
  width: 100%;
  height: 38px;
  border: 1px solid #e5e0ee;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  color: #221a2f;
  background: #fff;
  outline: none;
}

.inline-message-form input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}

@media (max-width: 720px) {
  .inline-message-form {
    grid-template-columns: 1fr;
  }
}

.alert-summary-card {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(109, 40, 217, 0.14);
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.98), rgba(255, 255, 255, 0.98));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(76, 29, 149, 0.06);
}

.alert-summary-card strong {
  display: block;
  color: #2f174f;
  font-size: 0.96rem;
}

.alert-summary-card small {
  display: block;
  margin-top: 3px;
  color: #7c708d;
  font-size: 0.78rem;
}

.alert-summary-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.alert-summary-items span,
.attention-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f7d85a;
  color: #1f1a08;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  border: 0;
}

.panel-subsection-head .attention-badge {
  margin-left: 8px;
  min-width: 24px;
  padding: 4px 8px;
}

@media (max-width: 680px) {
  .alert-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .alert-summary-items {
    justify-content: flex-start;
  }
}

.mark-alerts-button {
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffffff;
  color: #3b255e;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.18);
}

.mark-alerts-button:hover {
  background: #faf7ff;
}

.not-found-main {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 42px 18px;
}

.not-found-card {
  width: min(680px, 100%);
  background: #fff;
  border: 1px solid rgba(99, 102, 241, .12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  padding: 38px;
  text-align: center;
}

.not-found-card h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  color: #111827;
}

.not-found-card p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: #6b7280;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.not-found-card small {
  color: #9ca3af;
}

/* Ajustes CHAMA - placeholders, upload, avatares e publicar serviço */
input::placeholder,
textarea::placeholder {
  font-family: inherit;
  font-size: clamp(12px, 0.95em, 14px);
  font-weight: 400;
  color: #7d8497;
  opacity: 1;
}

.photo-avatar-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.image-upload-button.image-upload-square {
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  padding: 8px !important;
  border-radius: 16px !important;
  flex-direction: column;
  gap: 3px;
}

.image-upload-square svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.image-upload-square span,
.image-upload-square small {
  font-size: 10px;
  line-height: 1.05;
}

.avatar-select-field {
  min-width: 0;
}

.avatar-options {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar-option {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.15s ease;
}

.avatar-option.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.10);
}

.avatar-azul {
  background: #eef4ff !important;
  color: #1261f1 !important;
}

.avatar-verde {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

.avatar-roxo {
  background: #f3e8ff !important;
  color: #7c3aed !important;
}

.avatar-laranja {
  background: #fff7ed !important;
  color: #ea580c !important;
}

.avatar-cinza {
  background: #f4f6fb !important;
  color: #64748b !important;
}

.professional-avatar.avatar-azul,
.professional-avatar.avatar-verde,
.professional-avatar.avatar-roxo,
.professional-avatar.avatar-laranja,
.professional-avatar.avatar-cinza,
.profile-avatar.avatar-azul,
.profile-avatar.avatar-verde,
.profile-avatar.avatar-roxo,
.profile-avatar.avatar-laranja,
.profile-avatar.avatar-cinza {
  border: 1px solid var(--line-strong);
}

.publish-main {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 20px 24px 44px;
}

.publish-hero {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-32px);
}

.publish-search-box {
  width: min(100%, 760px);
  min-height: 58px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
}

.publish-search-box .publish-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 58px;
  height: auto;
}

.publish-search-box input[type="text"] {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.publish-neighborhood {
  position: relative;
  flex: 0 0 176px;
  width: 176px;
  min-width: 176px;
  min-height: 58px;
  height: auto;
  border-left: 1px solid var(--line-strong);
  text-align: left;
  background: #fff;
  z-index: 10;
}

.publish-neighborhood-toggle {
  width: 100%;
  min-height: 58px;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-rows: 16px 20px;
  align-content: center;
  column-gap: 8px;
  row-gap: 1px;
  text-align: left;
}

.publish-neighborhood-toggle span {
  grid-column: 1 / 2;
  color: #81889b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.publish-neighborhood-toggle strong {
  grid-column: 1 / 2;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publish-neighborhood-toggle svg {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 18px;
  height: 18px;
  color: var(--text);
}

.publish-neighborhood-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  max-height: 156px;
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  padding: 4px;
  z-index: 40;
}

.publish-neighborhood-menu[hidden] {
  display: none;
}

.publish-neighborhood-menu button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.publish-neighborhood-menu button:hover,
.publish-neighborhood-menu button.selected {
  background: rgba(18, 97, 241, 0.08);
  color: var(--blue);
}

.publish-search-box > button {
  flex: 0 0 138px;
  width: 138px;
  min-width: 138px;
  min-height: 58px;
  height: auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 18px 18px 0;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.publish-category-row .category-pill.selected {
  background: rgba(18, 97, 241, 0.08);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.08);
}

@media (max-width: 760px) {
  .photo-avatar-row {
    grid-template-columns: 1fr;
  }

  .publish-search-box {
    width: min(100%, 680px);
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .publish-neighborhood {
    width: 100%;
    min-width: 0;
    flex: none;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .publish-search-box > button {
    width: 100%;
    min-width: 0;
    flex: none;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
  }
}


/* Ajuste CHAMA - placeholder maior no search principal */
.search-box .search-input input::placeholder,
.publish-search-box .publish-input input::placeholder {
  font-size: clamp(14px, 1.02em, 16px);
  font-weight: 500;
  color: #7b8397;
}


/* Ajuste CHAMA - search principal ajustável e categorias extras */
.results-category-row {
  margin-top: 14px;
}

.search-box,
.publish-search-box {
  max-width: calc(100vw - 32px);
}

.publish-search-box .publish-input input {
  min-width: 0;
}


/* Ajuste CHAMA - resultados em uma linha, publicar menor e título Outros correto */
.results-search-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.results-search {
  width: min(100%, 470px);
  flex: 0 1 470px;
}

.results-category-row {
  width: auto;
  margin-top: 0;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
}

.results-category-row .category-pill {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.publish-search-box {
  width: min(100%, 760px);
}

@media (max-width: 1120px) {
  .results-search-wrap {
    flex-direction: column;
    gap: 14px;
  }

  .results-search {
    width: min(100%, 680px);
    flex: none;
  }

  .results-category-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Ajuste CHAMA - página de complemento/edição do serviço */
.service-edit-page {
  align-items: flex-start;
  padding-top: 34px;
}

.service-edit-shell {
  width: min(100%, 860px);
}

.service-edit-card {
  width: 100%;
}

.service-edit-head {
  display: grid;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.status-badge-published {
  background: #18b45b;
  color: #fff;
}

.service-edit-form textarea,
.service-edit-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
}

.service-edit-form textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

.service-edit-form select {
  height: 48px;
  padding: 0 42px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23101A43' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.service-edit-form textarea:focus,
.service-edit-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 97, 241, 0.10);
}

.service-edit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-photo-field {
  display: grid;
  gap: 10px;
}

.service-photo-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.service-photo-upload {
  width: fit-content;
  min-width: 138px;
  min-height: 96px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 16px;
  border: 1.5px dashed #9b66ff;
  border-radius: 14px;
  background: #fff;
  color: #5b35c8;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}

.service-photo-upload:hover {
  background: rgba(91, 53, 200, 0.045);
  border-color: #6d43e6;
}

.service-photo-camera {
  border-style: solid;
  border-color: var(--line-strong);
  color: var(--blue);
}

.service-photo-camera small {
  color: var(--muted);
}

.service-photo-camera-icon {
  width: 22px;
  height: 18px;
  display: block;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.service-photo-camera-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.service-photo-camera-icon::after {
  content: '';
  width: 8px;
  height: 4px;
  position: absolute;
  left: 2px;
  top: -5px;
  background: currentColor;
  border-radius: 3px 3px 0 0;
}

.service-photo-upload-icon {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.service-photo-upload span {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-upload small {
  color: #744cff;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-input {
  display: none;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-photo-item {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f8faff;
}

.service-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-edit-actions {
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 980px) {
  .service-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-edit-grid {
    grid-template-columns: 1fr;
  }
  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Ajuste CHAMA - caminho alternativo discreto */
.alt-path-link {
  width: min(100%, 760px);
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.alt-path-link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #74809a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.alt-path-link a span {
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-0.5px);
}

.alt-path-link a:hover {
  color: var(--blue);
}

.results-alt-path-link {
  width: min(100%, 1180px);
  margin: -24px auto 32px;
}

@media (max-width: 760px) {
  .alt-path-link {
    justify-content: center;
    margin-top: 14px;
  }

  .results-alt-path-link {
    margin: -18px auto 28px;
  }
}


.service-edit-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.service-edit-head {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 2px;
}

.service-photo-field-head {
  min-width: 0;
  justify-self: end;
}

.service-photo-tools-head {
  flex-wrap: nowrap;
  gap: 14px;
}

.service-photo-upload {
  width: 164px;
  min-width: 164px;
  height: 108px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #cfd9ef;
  border-radius: 18px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
  box-sizing: border-box;
}

.service-photo-upload:hover {
  background: #f8fbff;
  border-color: #afc5ff;
}

.service-photo-camera {
  border-color: #cfd9ef;
  color: #101a43;
}

.service-photo-upload small,
.service-photo-camera small {
  color: var(--blue);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-upload-icon {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.service-photo-upload span {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.service-photo-grid-head {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
}

@media (max-width: 980px) {
  .service-edit-top {
    grid-template-columns: 1fr;
  }

  .service-photo-field-head {
    justify-self: start;
  }

  .service-photo-tools-head {
    flex-wrap: wrap;
  }
}


/* Ajuste CHAMA - ícones dos botões de foto */
.service-photo-upload-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1;
}

.service-photo-camera-icon {
  width: 28px;
  height: 22px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

.service-photo-camera-icon::before {
  width: 8px;
  height: 8px;
}

.service-photo-camera-icon::after {
  left: 3px;
  top: -5px;
}


/* Ajuste CHAMA - ícone de upload mais robusto */
.service-photo-upload-tray-icon {
  width: 34px;
  height: 30px;
  position: relative;
  display: block;
  margin: 0 auto;
  font-size: 0;
}

.service-photo-upload-tray-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1px;
  width: 12px;
  height: 14px;
  transform: translateX(-50%);
  border-left: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  border-radius: 10px 10px 0 0;
}

.service-photo-upload-tray-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 22px;
  height: 11px;
  transform: translateX(-50%);
  border: 2.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 4px 0 0 #ffffff;
}

.service-photo-upload-tray-icon {
  background:
    linear-gradient(currentColor, currentColor) center 14px / 2.5px 10px no-repeat,
    linear-gradient(45deg, transparent 47%, currentColor 48%, currentColor 58%, transparent 59%) calc(50% - 4px) 10px / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 47%, currentColor 48%, currentColor 58%, transparent 59%) calc(50% + 4px) 10px / 8px 8px no-repeat;
}


/* Ajuste CHAMA - ícone de upload limpo */
.service-photo-upload-clean-icon {
  width: 32px;
  height: 30px;
  position: relative;
  display: block;
  margin: 0 auto;
  font-size: 0;
}

.service-photo-upload-clean-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 3px;
  width: 15px;
  height: 15px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  border-radius: 2px 0 0 0;
}

.service-photo-upload-clean-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 26px;
  height: 14px;
  transform: translateX(-50%);
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 0 0 8px 8px;
}

.service-photo-upload-clean-icon {
  background: linear-gradient(currentColor, currentColor) center 9px / 3px 16px no-repeat;
}

/* Anula o ícone anterior, caso ainda exista em cache de CSS */
.service-photo-upload-tray-icon {
  display: none;
}


/* Ajuste CHAMA - ícones SVG reais dos botões de foto */
.service-photo-svg-icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-photo-upload-clean-icon,
.service-photo-upload-tray-icon,
.service-photo-camera-icon {
  display: none !important;
}


/* Ajuste CHAMA - 1 botão para fotos com opções */
.service-photo-picker {
  position: relative;
  min-width: 230px;
}

.service-photo-picker[open] {
  z-index: 20;
}

.service-photo-picker summary {
  list-style: none;
}

.service-photo-picker summary::-webkit-details-marker {
  display: none;
}

.service-photo-picker-trigger {
  width: 230px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #cfd9ef;
  border-radius: 18px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transition: 0.15s ease;
}

.service-photo-picker-trigger:hover,
.service-photo-picker[open] .service-photo-picker-trigger {
  background: #f8fbff;
  border-color: #afc5ff;
}

.service-photo-picker-trigger span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-picker-trigger small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 230px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 26, 67, 0.14);
}

.service-photo-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #dde6f7;
  border-radius: 12px;
  background: #fff;
  color: #101a43;
  cursor: pointer;
  transition: 0.15s ease;
}

.service-photo-option:hover {
  border-color: #afc5ff;
  background: #f8fbff;
}

.service-photo-option .service-photo-svg-icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

.service-photo-option strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-option small {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.service-photo-field-head {
  min-width: 230px;
}

@media (max-width: 980px) {
  .service-photo-picker,
  .service-photo-picker-trigger,
  .service-photo-picker-menu,
  .service-photo-field-head {
    width: min(100%, 230px);
  }
}


.service-edit-actions {
  gap: 14px;
}

.service-edit-skip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 4px;
}

.service-edit-skip-link:hover {
  color: var(--blue);
}

@media (max-width: 720px) {
  .service-edit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-edit-skip-link {
    min-height: 42px;
  }
}


/* Ajuste CHAMA - linha inferior com campos e ações */
.service-edit-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.service-edit-bottom-row > label {
  margin: 0;
}

.service-edit-actions-inline {
  justify-content: flex-start;
  align-items: end;
  gap: 14px;
  align-self: end;
  flex-wrap: nowrap;
  margin: 0;
}

.service-edit-actions-inline button {
  min-width: 120px;
}

@media (max-width: 1080px) {
  .service-edit-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-edit-actions-inline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .service-edit-bottom-row {
    grid-template-columns: 1fr;
  }

  .service-edit-actions-inline {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }
}
