/* Pro success + photo location UI for client walk page and admin photo preview */
.checkin-success-card{margin:14px 0 0;padding:18px;border-radius:22px;border:1px solid #bbf7d0;background:linear-gradient(135deg,#f0fdf4,#ecfeff);box-shadow:0 16px 40px rgba(15,23,42,.08)}
.checkin-success-card[hidden]{display:none!important}.checkin-success-card .checkin-success-head{display:flex;gap:14px;align-items:flex-start}.checkin-success-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#16a34a;color:#fff;font-size:24px;box-shadow:0 10px 24px rgba(22,163,74,.25)}.checkin-success-card h3{margin:0 0 4px}.checkin-success-card p{margin:0}.checkin-success-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.checkin-success-meta div{padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.25)}.checkin-success-meta span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.checkin-success-meta strong{display:block;color:#0f172a;font-size:14px;margin-top:2px}.photo-location-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:15px;border-radius:20px;border:1px dashed #cbd5e1;background:#f8fafc}.photo-location-panel.is-ready{border-style:solid;border-color:#86efac;background:#f0fdf4}.photo-location-panel.is-unavailable{border-color:#fecaca;background:#fff7f7}.photo-location-panel p{margin:0}.photo-location-panel strong{display:block}.photo-location-panel small{display:block;margin-top:3px}.photo-location-badge,.photo-location-link{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;background:#eef2ff;color:#3730a3;text-decoration:none}.photo-location-link{background:#ecfeff;color:#155e75}.photo-preview-location-card{border:1px solid #dbeafe;background:#eff6ff;border-radius:16px;padding:12px;margin-top:12px}.photo-preview-location-card strong{display:block;margin-bottom:6px}.photo-preview-location-card p{margin:0 0 8px}.photo-card-location-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}@media(max-width:720px){.checkin-success-meta{grid-template-columns:1fr}.photo-location-panel{align-items:flex-start;flex-direction:column}.photo-location-panel .btn{width:100%}}

/* Simplified mobile photo source selector */
.simplified-photo-picker {
  margin-top: 8px;
}

.photo-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 6px;
}

.photo-source-card {
  display: flex;
  min-height: 126px;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 20px;
  background: #fff;
  color: #0f172a;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  font: inherit;
}

.photo-source-card.primary {
  border-color: rgba(28,124,84,.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(28,124,84,.10), transparent 36%),
    #fff;
}

.photo-source-card:hover,
.photo-source-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(28,124,84,.55);
  box-shadow: 0 14px 28px rgba(15,23,42,.10);
  outline: none;
}

.photo-source-card strong,
.photo-source-card small {
  display: block;
}

.photo-source-card strong {
  font-weight: 900;
}

.photo-source-card small {
  color: #64748b;
  line-height: 1.3;
}

.photo-source-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 20px;
}

.photo-file-control {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media(max-width:720px){
  .photo-source-grid {
    grid-template-columns: 1fr;
  }

  .photo-source-card {
    min-height: 86px;
    flex-direction: row;
    align-items: center;
  }

  .photo-source-card small {
    margin-top: 2px;
  }
}

.photo-source-card.is-selected {
  border-color: rgba(22,163,74,.75);
  background: #f0fdf4;
  box-shadow: 0 14px 30px rgba(22,163,74,.10);
}
