/* Post Property page only. All selectors are scoped to body.post-property-page. */

body.post-property-page {
  background: #f8f9fa !important;
  color: #1d3557;
  font-family: Roboto, "Noto Sans", system-ui, sans-serif;
}

body.post-property-page .pp-seo {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 0;
  box-sizing: border-box;
}

body.post-property-page .pp-seo h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #1d3557;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.post-property-page .pp-seo p {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: #5c534c;
  line-height: 1.45;
}

body.post-property-page .pp-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  box-sizing: border-box;
}

body.post-property-page .pp-title {
  margin: 4px 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #1d3557;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.post-property-page .pp-step-label {
  margin: 8px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1d3557;
}

body.post-property-page .pp-bars {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
}

body.post-property-page .pp-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
}

body.post-property-page .pp-bar.on {
  background: #ed6c02;
}

body.post-property-page .pp-card {
  background: #fff;
  border-radius: 16px;
  padding: 4px 0 8px;
}

body.post-property-page .pp-field {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #5c534c;
}

body.post-property-page .pp-field span.pp-hint {
  font-weight: 500;
  font-size: 12px;
  color: #8a7d72;
}

body.post-property-page .pp-field input,
body.post-property-page .pp-field select,
body.post-property-page .pp-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  padding: 14px 12px;
  font: 16px/1.3 Roboto, "Noto Sans", system-ui, sans-serif;
  color: #1d3557;
  background: #fff;
  appearance: none;
}

body.post-property-page .pp-field textarea {
  min-height: 96px;
  resize: vertical;
}

body.post-property-page .pp-field textarea.pp-desc-tall {
  min-height: 180px;
}

body.post-property-page .pp-field input:focus,
body.post-property-page .pp-field select:focus,
body.post-property-page .pp-field textarea:focus {
  outline: 2px solid #ed6c02;
  border-color: #ed6c02;
}

body.post-property-page .pp-city {
  padding: 14px 12px;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1d3557;
  background: #f8f9fa;
}

body.post-property-page .pp-note {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e6d9c8;
  background: #f7f2eb;
  color: #1d3557;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-line;
}

body.post-property-page .pp-privacy {
  margin: 4px 0 0;
  color: #616161;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

body.post-property-page .pp-error {
  min-height: 0;
  margin: 0 0 8px;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

body.post-property-page .pp-ok {
  margin: 0 0 8px;
  color: #1b7a4e;
  font-size: 14px;
  font-weight: 700;
}

body.post-property-page .pp-actions {
  position: sticky;
  bottom: calc(var(--app-nav-h, 56px) + var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 6;
  display: flex;
  gap: 12px;
  padding: 8px 0 12px;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, #f8f9fa 18%);
}

body.post-property-page .pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  font: 600 15px/1.2 Roboto, "Noto Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

body.post-property-page .pp-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.post-property-page .pp-btn-fill {
  flex: 2;
  border: 0;
  background: #ed6c02;
  color: #fff;
}

body.post-property-page .pp-btn-out {
  flex: 1;
  border: 1.5px solid #ed6c02;
  background: #fff;
  color: #ed6c02;
}

body.post-property-page .pp-auth,
body.post-property-page .pp-success {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px;
}

body.post-property-page .pp-auth p,
body.post-property-page .pp-success p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

body.post-property-page .pp-auth-row {
  display: grid;
  gap: 10px;
}

body.post-property-page .pp-choose {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid #ed6c02;
  border-radius: 12px;
  background: #fff;
  color: #ed6c02;
  font: 600 14px/1 Roboto, "Noto Sans", system-ui, sans-serif;
  cursor: pointer;
}

body.post-property-page .pp-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.post-property-page .pp-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

body.post-property-page .pp-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

body.post-property-page .pp-thumb img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
}

body.post-property-page .pp-thumb-x {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

body.post-property-page .pp-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1d3557;
}

body.post-property-page .pp-amenity input {
  width: 20px;
  height: 20px;
  accent-color: #ed6c02;
}

body.post-property-page .pp-more {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0e6dc;
}

body.post-property-page .pp-more-title {
  margin: 8px 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #8a7d72;
}

body.post-property-page .pp-spin {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pp-spin 0.7s linear infinite;
}

@keyframes pp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  body.post-property-page .pp-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
}

@media (min-width: 1024px) {
  body.post-property-page .pp-shell {
    max-width: 720px;
    padding: 20px 24px 48px;
  }

  body.post-property-page .pp-title {
    font-size: 22px;
  }

  body.post-property-page .pp-actions {
    bottom: 0;
  }
}
