/* patuco — guides and adoption pages (loaded on top of app.css through @push('head')). Same tokens as app.css. */

/* kind chips */
.ct-kinds { margin-top: 0; }
.ct-chip-count { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(63, 82, 64, 0.12); font-size: 11px; font-weight: 600; line-height: 1; }
.app-chip.is-active .ct-chip-count { background: rgba(63, 82, 64, 0.18); }

/* guide list: horizontal cards with a big icon on the left */
.ct-guide-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; }
.ct-guide { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 15px; background: #fff; box-shadow: var(--app-shadow); color: inherit; }
.ct-guide:hover { color: inherit; box-shadow: var(--app-shadow-card); }
.ct-guide:active { transform: scale(0.99); }
.ct-guide-icon { display: inline-flex; width: 52px; height: 52px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 16px; background: var(--app-tint); color: var(--app-green); font-size: 22px; }
.is-report .ct-guide-icon { background: #FBEAE7; color: var(--app-danger); }
.is-emergency .ct-guide-icon { background: #FFF1D6; color: #B7791F; }
.is-care .ct-guide-icon { background: var(--app-success-bg); color: var(--app-success); }
.is-law .ct-guide-icon { background: #E6ECF5; color: #3A5A8C; }
.ct-guide-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ct-guide-kind { font-size: 12px; color: var(--app-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }
.ct-guide-title { font-size: 15px; font-weight: 500; color: var(--app-ink); line-height: 1.3; margin-top: 2px; }
.ct-guide-summary { font-size: 13px; color: var(--app-text); margin-top: 4px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ct-disclaimer { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 6px; line-height: 1.5; }
.ct-disclaimer i { margin-top: 3px; color: var(--app-sage); }

/* guide page */
.ct-guide-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.ct-guide-head .ct-guide-icon { width: 60px; height: 60px; font-size: 26px; border-radius: 18px; }
.ct-guide-head h1 { margin: 2px 0 0; font-size: 24px; }
.ct-emergency { align-items: center; }
.ct-emergency a { color: inherit; font-weight: 700; text-decoration: underline; }
.ct-h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 22px 0 10px; }
.ct-steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ct-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 15px; background: var(--app-tint); }
.ct-steps .app-step-n { margin-top: 1px; }
.ct-step-text { color: var(--app-ink); font-size: 15px; line-height: 1.5; }
.ct-body { color: var(--app-text); font-size: 15px; margin: 8px 0 4px; }
.ct-body p { margin: 0 0 10px; }
.ct-body ul, .ct-body ol { padding-left: 20px; margin: 0 0 10px; }
.ct-body h2, .ct-body h3 { font-size: 16px; margin: 16px 0 6px; }
.ct-contacts { list-style: none; margin: 0 0 6px; padding: 0; }
.ct-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.ct-contact-main { min-width: 0; flex: 1; }
.ct-contact-name { font-weight: 500; color: var(--app-ink); font-size: 15px; }
.ct-contact-note { font-size: 13px; color: var(--app-text); margin-top: 2px; line-height: 1.4; }
.ct-contact-phone { font-size: 14px; color: var(--app-green-dark); font-weight: 500; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.ct-contact-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.ct-contact-actions .app-btn { min-width: 96px; justify-content: center; }

/* adoption list */
.ct-filters { margin-bottom: 4px; }
.ct-filters .app-field { margin-bottom: 0; }
.ct-species { margin-top: 0; }
.ct-adopt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin: 8px 0 18px; }
.ct-adopt-card .app-card-fallback { font-size: 44px; background: var(--app-tint); }
.ct-adopt-card.is-adopted .app-card-image img { filter: grayscale(0.6); opacity: .8; }
.ct-adopt-species { font-size: 12px; color: var(--app-sage); margin-right: 2px; }
.ct-adopt-card .app-card-caption { padding-bottom: 8px; }
.ct-adopt-card .app-card-subtitle i { font-size: 11px; color: var(--app-sage); }

/* listing page */
.ct-gallery { margin-top: 0; }
.ct-photo { display: block; border-radius: 18px; overflow: hidden; background: var(--app-tint); box-shadow: var(--app-shadow-card); line-height: 0; aspect-ratio: 4 / 3; }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-photo-single { margin: 4px 0 14px; }
.ct-photo-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin: 4px 0 14px; box-shadow: none; font-size: 64px; color: var(--app-sage); }
.ct-adopt-head { margin: 4px 0 12px; }
.ct-adopt-head .app-chips { margin-bottom: 8px; }
.ct-adopt-head h1 { margin: 0 0 2px; }
.ct-org { padding: 14px 16px; }
.ct-org-head { display: flex; align-items: center; gap: 12px; }
.ct-org-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ct-org-name strong { color: var(--app-ink); font-size: 16px; }
.ct-org-name .app-badge { align-self: flex-start; }
.ct-org-actions { display: flex; flex-direction: column; gap: 8px; }

/* provider side: my listings */
.ct-mine { display: flex; flex-direction: column; gap: 12px; margin: 0 0 16px; }
.ct-mine-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 15px; background: #fff; box-shadow: var(--app-shadow); }
.ct-mine-item img, .ct-mine-item .ct-mine-fallback { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--app-tint); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--app-sage); font-size: 26px; }
.ct-mine-body { flex: 1; min-width: 0; }
.ct-mine-title { font-weight: 500; color: var(--app-ink); font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-mine-sub { font-size: 13px; color: var(--app-text); margin-top: 2px; }
.ct-mine-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ct-mine-actions form { display: inline; }
.ct-mine-actions .app-btn { min-height: 32px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
.ct-status-form { display: flex; gap: 6px; }
.ct-status-form .app-chip { padding: 4px 10px; font-size: 12px; line-height: 18px; }

/* provider form: photos */
.ct-photo-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border: 2px dashed var(--app-tint-dark); border-radius: 15px; background: var(--app-tint); color: var(--app-green); font-weight: 500; cursor: pointer; margin: 0; padding: 12px; position: relative; }
.ct-photo-drop i { font-size: 22px; }
.ct-photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ct-photo-drop:focus-within { box-shadow: 0 0 0 3px rgba(128, 152, 112, 0.18); }
.ct-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 4px; }
.ct-photo-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--app-tint); aspect-ratio: 1 / 1; margin: 0; line-height: 0; box-shadow: var(--app-shadow-card); }
.ct-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ct-photo-thumb .ct-photo-remove { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.ct-photo-thumb .ct-photo-remove input { width: 14px; height: 14px; accent-color: var(--app-danger); margin: 0; }
.ct-photo-thumb:has(.ct-photo-remove input:checked) img { opacity: .35; filter: grayscale(1); }
.ct-photo-thumb .ct-photo-cover { position: absolute; top: 6px; left: 6px; background: var(--app-lime); color: var(--app-green-dark); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; line-height: 14px; }
.ct-form .app-textarea { min-height: 120px; }
.ct-switch { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--app-ink); }
.ct-switch input { width: 20px; height: 20px; accent-color: var(--app-green); }
