/* modules/equine/css/equine.css - Equine module styles (roadmap XfBA0): rug cards and wardrobe, the horse share card photo, the Feed plan table.
   Loaded after assets/css/app.css (config/assets.php); uses its :root variables. */
.horse-card-photo { display: block; width: 160px; height: 160px; max-width: 100%; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; }

.rug { border-left: 4px solid var(--accent-gold); }
.rug-label { font-family: var(--font-heading); font-weight: 700; color: var(--accent-gold); }
.rug-label.night { color: var(--color-night); }
/* Rug recommendations and wardrobe */
.rug-badge { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: var(--navy-surface); border: 1px solid var(--navy-border); border-radius: var(--radius-md); padding: 10px 14px; font-size: 0.85rem; margin-bottom: 12px; }
.rug-card { background: var(--navy-surface); border: 1px solid var(--navy-border); border-left: 4px solid var(--accent-gold); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 12px; }
.rug-card.night { border-left-color: var(--color-night); }
.rug-rec { margin: 8px 0 2px; font-size: 1.02rem; color: var(--color-white); }
.rug-match { margin-top: 8px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.rug-match.ok { background: var(--green-a12); border: 1px solid var(--accent-green); }
.rug-match.warn { background: var(--gold-a12); border: 1px solid var(--accent-gold); }
.rug-item .icon-btn { width: 36px; height: 36px; font-size: 1.1rem; }
.rug-form .check-row { display: flex; gap: 10px; align-items: center; margin: 12px 0; color: var(--text-main); font-weight: 600; }

/* Feed plan table */
.feed-in { width: 62px; min-height: 34px; padding: 4px 6px; }
.feed-in.feed-flags { width: 130px; }
.feed-in[data-k=weight] { width: 78px; }
.feed-table th, .feed-table td { padding-left: 6px; padding-right: 6px; }
.feed-table td:nth-last-child(-n+3) { white-space: nowrap; }
.feed-pair { display: inline-flex; gap: 4px; align-items: center; }
.feed-table td { vertical-align: middle; }
@media (max-width: 768px) { .feed-in, .feed-in[data-k=weight] { width: 90px; } .feed-pair .feed-in { width: 70px; } .feed-in.feed-flags { width: 170px; } table.data.stack td .feed-pair { justify-content: flex-end; } }
@media print {
  .feed-in { border: none !important; background: none !important; color: var(--color-black) !important; width: auto !important; padding: 0 !important; -moz-appearance: textfield; }
  .feed-in::-webkit-inner-spin-button { display: none; }
  .feed-in::placeholder { color: transparent !important; }
}
