/* SCO My Finds — high-visibility form. Scoped and intentionally more specific
   than general GeneratePress/Elementor/WooCommerce input rules. */
.sco-my-finds {
  max-width: 960px;
  margin: 20px auto;
  padding: 0 14px;
  color: #24392e;
}
.sco-my-finds form[data-sco-find-form] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  margin: 24px 0;
  padding: 24px;
  background: #faf8f3;
  border: 1px solid #d7e0d8;
  border-radius: 14px;
}
.sco-my-finds form[data-sco-find-form] label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: #203d2e;
}
.sco-my-finds .sco-find-photo-step,
.sco-my-finds .sco-find-details-heading,
.sco-my-finds .sco-find-notes-field,
.sco-my-finds .sco-find-submit-row {
  grid-column: 1 / -1;
}
.sco-my-finds .sco-find-photo-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: #eef7f0;
  border: 2px dashed #457458;
  border-radius: 12px;
}
.sco-my-finds .sco-find-step-heading,
.sco-my-finds .sco-find-details-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #214c39;
  font-size: 17px;
  line-height: 1.3;
}
.sco-my-finds .sco-find-details-heading {
  padding: 2px 0 12px;
  border-bottom: 1px solid #cfdad0;
  margin-top: 2px;
}
.sco-my-finds .sco-find-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #214c39;
  color: #fff;
  font-weight: 750;
  font-size: 15px;
}
.sco-my-finds .sco-find-required,
.sco-my-finds .sco-find-optional {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 100px;
  padding: 4px 9px;
}
.sco-my-finds .sco-find-required {
  color: #5a3215;
  background: #fff1d8;
  border: 1px solid #e8c48c;
}
.sco-my-finds .sco-find-optional {
  color: #42594a;
  background: #edf1ed;
  border: 1px solid #d0dad0;
}
.sco-my-finds .sco-find-photo-label {
  color: #203d2e;
  font-weight: 650;
  font-size: 15px;
}
section.sco-my-finds form[data-sco-find-form] input:not([type="file"]):not([type="checkbox"]),
section.sco-my-finds form[data-sco-find-form] select,
section.sco-my-finds form[data-sco-find-form] textarea {
  width: 100% !important;
  min-width: 0;
  min-height: 49px;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  background-color: #fff !important;
  color: #172d22 !important;
  border: 2px solid #718c7b !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgb(18 49 32 / 7%) !important;
  font: inherit;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  opacity: 1 !important;
}
section.sco-my-finds form[data-sco-find-form] textarea {
  min-height: 108px;
  resize: vertical;
}
section.sco-my-finds form[data-sco-find-form] input::placeholder,
section.sco-my-finds form[data-sco-find-form] textarea::placeholder {
  color: #596961 !important;
  opacity: 1 !important;
}
section.sco-my-finds form[data-sco-find-form] input:focus-visible,
section.sco-my-finds form[data-sco-find-form] select:focus-visible,
section.sco-my-finds form[data-sco-find-form] textarea:focus-visible {
  border-color: #195b3b !important;
  outline: 3px solid #9fc6b1 !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #d7e9de !important;
}
section.sco-my-finds form[data-sco-find-form] input[type="file"] {
  display: block;
  width: 100%;
  min-height: 54px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 2px solid #718c7b !important;
  border-radius: 9px;
  background: #fff !important;
  color: #253e31 !important;
  font-size: 15px;
  cursor: pointer;
}
section.sco-my-finds form[data-sco-find-form] input[type="file"]::file-selector-button {
  padding: 11px 18px;
  margin-right: 14px;
  background: #214c39;
  color: white;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
section.sco-my-finds form[data-sco-find-form] input[type="file"]::file-selector-button:hover {
  background: #153829;
}
.sco-my-finds .sco-find-help {
  display: block;
  margin: 0 !important;
  padding: 0;
  color: #445e4d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.sco-my-finds .sco-find-submit-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 3px;
}
.sco-my-finds .sco-find-submit-row span {
  font-size: 13px;
  color: #4b6252;
}
section.sco-my-finds form[data-sco-find-form] button[type="submit"] {
  min-height: 50px;
  padding: 12px 24px;
  background: #214c39;
  color: #fff;
  border: 2px solid #214c39;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}
section.sco-my-finds form[data-sco-find-form] button[type="submit"]:hover {
  background: #153829;
}
.sco-my-finds button:disabled { opacity: .55; cursor: wait; }
.sco-my-finds .sco-find-status { min-height: 1.4em; font-weight: 600; }
.sco-my-finds .sco-find-error { color: #ad3434; }
.sco-my-finds .sco-find-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.sco-my-finds .sco-find-card {
  overflow: hidden;
  border: 1px solid #cbd8ce;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 8px #00000008;
}
.sco-my-finds .sco-find-photo {
  display: block;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  background: #f0f2ef;
}
.sco-my-finds .sco-find-card h3 {
  font-size: 17px;
  margin: 10px 0 5px;
  line-height: 1.35;
}
.sco-my-finds .sco-find-meta,
.sco-my-finds .sco-find-note {
  font-size: 13px;
  line-height: 1.45;
  margin: 4px 0;
  color: #4b5e51;
  overflow-wrap: anywhere;
}
.sco-my-finds .sco-find-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.sco-my-finds .sco-find-actions a,
.sco-my-finds .sco-find-actions button,
.sco-my-finds [data-sco-find-more] {
  border: 1px solid #214c39;
  border-radius: 5px;
  background: #fff;
  color: #214c39;
  padding: 8px 11px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}
.sco-my-finds .sco-find-actions a:hover,
.sco-my-finds .sco-find-actions button:hover { background: #f0f6f2; }
@media(max-width: 620px) {
  .sco-my-finds form[data-sco-find-form] {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 16px;
  }
  .sco-my-finds .sco-find-photo-step { padding: 15px 12px; }
  .sco-my-finds .sco-find-photo-step,
  .sco-my-finds .sco-find-details-heading,
  .sco-my-finds .sco-find-notes-field,
  .sco-my-finds .sco-find-submit-row { grid-column: auto; }
  .sco-my-finds .sco-find-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sco-my-finds .sco-find-card { padding: 8px; }
  .sco-my-finds .sco-find-actions { flex-direction: column; }
  .sco-my-finds .sco-find-actions button,
  .sco-my-finds .sco-find-actions a { text-align: center; }
}
@media(max-width: 390px) {
  .sco-my-finds .sco-find-grid { grid-template-columns: 1fr; }
  section.sco-my-finds form[data-sco-find-form] input[type="file"]::file-selector-button {
    display: block;
    width: 100%;
    margin: 0 0 6px;
  }
}

/* v0.0.320: Photo gallery, remembered booth, and collection controls */
.sco-my-finds form[data-sco-find-form] .sco-find-collection-field,
.sco-my-finds form[data-sco-find-form] .sco-find-keep-location {
  grid-column: 1 / -1;
}
.sco-my-finds form[data-sco-find-form] .sco-find-collection-field {
  margin: 0;
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid #b6cbbc;
  border-radius: 10px;
  background: #f3f7f2;
}
.sco-my-finds .sco-find-collection-field legend {
  padding: 0 8px;
  color: #214c39;
  font-weight: 750;
  font-size: 16px;
}
.sco-my-finds .sco-find-collection-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.sco-my-finds form[data-sco-find-form] label.sco-find-collection-choice,
.sco-my-finds .sco-find-card-organize label.sco-find-collection-choice {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 550;
  padding: 6px 9px;
  background: white;
  border: 1px solid #afc4b4;
  border-radius: 7px;
  cursor: pointer;
}
.sco-my-finds form[data-sco-find-form] input[type="checkbox"],
.sco-my-finds .sco-find-card-organize input[type="checkbox"] {
  display: inline-block;
  width: 19px !important;
  height: 19px !important;
  min-height: 19px !important;
  min-width: 19px !important;
  padding: 0 !important;
  flex: 0 0 19px;
  margin: 0 !important;
  accent-color: #214c39;
  box-shadow: none !important;
  border: 1px solid #548267 !important;
  cursor: pointer;
}
.sco-my-finds .sco-find-new-collection {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 8px;
}
.sco-my-finds .sco-find-new-collection input {
  flex: 1 1 180px;
}
.sco-my-finds .sco-find-new-collection button {
  background: white;
  border: 2px solid #214c39;
  color: #214c39;
  padding: 11px 15px;
  border-radius: 7px;
  min-height: 47px;
  font-weight: 700;
  cursor: pointer;
}
.sco-my-finds form[data-sco-find-form] label.sco-find-keep-location {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 600;
  background: #f0f6f0;
  border: 1px solid #c3d3c8;
  border-radius: 8px;
  padding: 11px 13px;
}
.sco-my-finds .sco-find-selection {
  font-size: 14px;
  color: #214c39;
  font-weight: 650;
  margin: 0;
  min-height: 1em;
}
.sco-my-finds .sco-find-organize {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding-top: 12px;
  border-top: 1px solid #d0dad0;
}
.sco-my-finds .sco-find-organize h3 {
  margin: 0 auto 0 0;
  font-size: 20px;
  color: #214c39;
}
.sco-my-finds .sco-find-organize label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
}
.sco-my-finds .sco-find-organize select {
  min-width: 195px;
  padding: 9px 12px;
  border: 2px solid #718c7b;
  border-radius: 7px;
  background: white;
  color: #214c39;
}
.sco-my-finds .sco-find-group {
  padding: 15px 0;
  margin: 12px 0 20px;
  border-bottom: 1px solid #d3e0d7;
}
.sco-my-finds .sco-find-group-title {
  margin: 0 0 6px;
  color: #214c39;
  font-size: 18px;
}
.sco-my-finds .sco-find-card {
  position: relative;
}
.sco-my-finds .sco-find-photo-count {
  display: inline-block;
  margin: 7px 0 2px;
  background: #e1eee4;
  color: #24503a;
  padding: 3px 8px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 750;
}
.sco-my-finds .sco-find-extra-upload {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}
.sco-my-finds .sco-find-card .sco-find-gallery,
.sco-my-finds .sco-find-card .sco-find-card-organize {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dbe6dc;
}
.sco-my-finds .sco-find-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(112px,1fr));
  gap: 10px;
}
.sco-my-finds .sco-find-thumb {
  border: 1px solid #ccd9ce;
  border-radius: 7px;
  padding: 6px;
  background: #f7faf7;
}
.sco-my-finds .sco-find-thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #e9eeea;
}
.sco-my-finds .sco-find-thumb-action,
.sco-my-finds .sco-find-action-secondary,
.sco-my-finds .sco-find-card-organize button {
  background: #fff;
  color: #214c39;
  border: 1px solid #517b61;
  border-radius: 6px;
  font-weight: 650;
  min-height: 34px;
  font-size: 12px;
  cursor: pointer;
  padding: 7px 8px;
}
.sco-my-finds .sco-find-thumb-action {
  width: 100%;
  margin-top: 5px;
}
.sco-my-finds .sco-find-thumb-action:hover,
.sco-my-finds .sco-find-action-secondary:hover { background: #eaf3ec; }
.sco-my-finds .sco-find-thumb-action.sco-find-remove,
.sco-my-finds .sco-find-actions .sco-find-remove {
  color: #962d2d;
  border-color: #b45e5e;
}
.sco-my-finds .sco-find-primary-label {
  display: block;
  margin-top: 6px;
  color: #315c41;
  font-size: 12px;
  font-weight: 700;
}
.sco-my-finds .sco-find-card-organize {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.sco-my-finds [hidden] { display: none !important; }
@media (max-width:620px) {
  .sco-my-finds form[data-sco-find-form] .sco-find-collection-field,
  .sco-my-finds form[data-sco-find-form] .sco-find-keep-location {
    grid-column: auto;
  }
  .sco-my-finds .sco-find-collection-field { padding: 12px !important; }
  .sco-my-finds .sco-find-new-collection { flex-direction: column; align-items: stretch; }
  .sco-my-finds .sco-find-organize select { min-width: 0; width: 100%; }
}


.sco-my-finds .sco-find-collection-choice-row {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 8px;
  margin: 0 4px 5px 0;
}
.sco-my-finds .sco-find-collection-manage {
  font-size: 12px;
  color: #214c39;
  background: white;
  border: 1px solid #8ba995;
  border-radius: 6px;
  padding: 7px 9px;
  min-height: 35px;
  cursor: pointer;
}
.sco-my-finds .sco-find-collection-manage.sco-find-remove {
  color: #9d3030;
  border-color: #b46a6a;
}
