/* Arianna Plus Food - interazioni social cliente, LAB V5 */

.apf-venue-customer-composer {
  overflow: hidden;
  border: 1px solid #dfe5ed;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(25, 48, 84, .055);
}

.apf-venue-compose-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 11px;
  padding: 16px 16px 12px;
}

.apf-venue-compose-row img,
.apf-social-comment-form img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.apf-venue-compose-row > button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 25px;
  background: #eef2f7;
  color: #727f94;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.apf-venue-compose-row > button:hover { background: #e8eef7; }

.apf-venue-compose-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0 16px;
  padding: 8px 0 12px;
  border-top: 1px solid #e6ebf2;
}

.apf-venue-compose-actions button {
  min-height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #526078;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.apf-venue-compose-actions button:hover { background: #f2f6fb; }

.apf-community-section { display: grid; gap: 12px; margin-top: 2px; }
.apf-community-section .business-social-heading { padding-left: 0; }
.apf-community-empty {
  padding: 18px;
  border: 1px dashed #cbd8e9;
  border-radius: 14px;
  background: #f8fbff;
  color: #627087;
  font-size: 11px;
}

.apf-community-card .business-post-copy h3 { margin: 3px 0 7px; font-size: 17px; }
.apf-community-card .business-post-copy p { margin: 0; }

.apf-social-card-zone {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid #e4e9f0;
  background: #fff;
}

.apf-social-actions-v5 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 6px 9px;
}

.apf-social-actions-v5 button {
  min-height: 39px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #59667a;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.apf-social-actions-v5 button:hover { background: #f1f5fa; }
.apf-social-actions-v5 button.active { background: #e9f2ff; color: #1768e5; }

.apf-social-comments { display: none; padding: 0 14px 14px; }
.apf-social-comments.open { display: block; }
.apf-social-comment-list { display: grid; gap: 9px; padding: 7px 0 10px; }
.apf-social-comment-list article { display: grid; grid-template-columns: 36px 1fr; gap: 9px; }
.apf-social-comment-list article img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.apf-social-comment-list article > div { padding: 8px 10px; border-radius: 12px; background: #f0f3f7; }
.apf-social-comment-list strong,
.apf-social-comment-list small { display: block; }
.apf-social-comment-list strong { color: #17233a; font-size: 10px; }
.apf-social-comment-list small { margin-top: 2px; color: #7b8799; font-size: 8px; }
.apf-social-comment-list p { margin: 5px 0 0; color: #36445a; font-size: 11px; line-height: 1.45; }
.apf-social-no-comments { margin: 0; color: #78869a; font-size: 10px; }

.apf-social-comment-form {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.apf-social-comment-form img { width: 36px; height: 36px; }
.apf-social-comment-form input {
  min-width: 0;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #dae2ec;
  border-radius: 20px;
  background: #f4f6f9;
  outline: 0;
}
.apf-social-comment-form input:focus { border-color: #7fb0f6; background: #fff; box-shadow: 0 0 0 3px rgba(23, 104, 229, .1); }
.apf-social-comment-form button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 18px;
  background: #1768e5;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.apf-detail-social-v5 {
  border-top: 1px solid #e4e9f0;
  background: #fff;
}

.apf-social-share-overlay,
.apf-venue-composer-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 18, 39, .72);
  backdrop-filter: blur(5px);
}

.apf-social-share-sheet,
.apf-venue-composer-modal {
  position: relative;
  width: min(620px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 27px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 85px rgba(0, 0, 0, .38);
}

.apf-social-share-close,
.apf-venue-composer-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf1f6;
  color: #26344b;
  font-size: 24px;
  cursor: pointer;
}

.apf-social-share-sheet > span,
.apf-venue-composer-modal header span {
  color: #1768e5;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}

.apf-social-share-sheet h2 { margin: 8px 45px 4px 0; color: #132139; }
.apf-social-share-sheet > p { margin: 0 0 18px; color: #6c788b; font-size: 11px; }
.apf-social-share-choices { display: grid; gap: 9px; }
.apf-social-share-choices button {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 13px;
  border: 1px solid #dce5f1;
  border-radius: 13px;
  background: #fff;
  color: #1e304c;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
}
.apf-social-share-choices button:hover { border-color: #8ab5f3; background: #f3f8ff; }
.apf-social-share-choices b { grid-column: 2; font-size: 12px; }
.apf-social-share-choices small { grid-column: 2; color: #748197; font-size: 9px; }

.apf-venue-composer-modal header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding-right: 38px;
}
.apf-venue-composer-modal header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.apf-venue-composer-modal header h2 { margin: 5px 0 3px; color: #14223a; font-size: 22px; }
.apf-venue-composer-modal header p { margin: 0; color: #69778c; font-size: 10px; line-height: 1.45; }
.apf-venue-composer-modal form { display: grid; gap: 12px; margin-top: 20px; }
.apf-venue-composer-modal form > label:not(.apf-venue-check) { display: grid; gap: 6px; }
.apf-venue-composer-modal label > span { color: #46546a; font-size: 10px; font-weight: 900; }
.apf-venue-composer-modal input,
.apf-venue-composer-modal textarea,
.apf-venue-composer-modal select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #fbfcfe;
  outline: 0;
}
.apf-venue-composer-modal textarea { min-height: 125px; resize: vertical; }
.apf-venue-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-items: end; }
.apf-venue-form-grid > label:first-child { display: grid; gap: 6px; }
.apf-venue-check { display: flex; min-height: 43px; align-items: center; gap: 8px; color: #536176; font-size: 10px; font-weight: 850; }
.apf-venue-check input { width: auto; }
.apf-venue-modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 6px; }

@media (max-width: 760px) {
  .apf-venue-compose-actions button { font-size: 9px; }
  .apf-social-actions-v5 button { font-size: 9px; }
  .apf-social-comment-form { grid-template-columns: 32px minmax(0, 1fr); }
  .apf-social-comment-form img { width: 32px; height: 32px; }
  .apf-social-comment-form button { grid-column: 2; justify-self: end; }
  .apf-venue-form-grid { grid-template-columns: 1fr; }
  .apf-social-share-sheet,
  .apf-venue-composer-modal { padding: 22px 17px; }
}

