/* The Care Desk - Admin and staff dashboard (js/clinic-dashboard.js)
   Uses the cards, lists and colours from css/doctor-dashboard.css */

.cda-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.cda-tile { display: flex; gap: 13px; align-items: flex-start; color: inherit; text-decoration: none; }
.cda-tile:hover { color: inherit; text-decoration: none; border-color: #bcd4ee; }
.cda-tile em { flex: 0 0 44px; height: 44px; border-radius: 13px; background: #e4f0fd; color: #1c5cab; display: flex; align-items: center; justify-content: center; }
.cda-tile.warn em { background: #fdebe4; color: #c2410c; }
.cda-tile.good em { background: #e2f6ee; color: #127a55; }
.cda-tile b { display: block; font-size: 30px; font-weight: 600; line-height: 1.1; color: #14233a; }
.cda-tile-title { font-size: 14.5px; font-weight: 600; color: #14233a; margin-top: 2px; }

.cda-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; align-items: stretch; }

.cda-doc { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px; background: #f6f9fd; border-radius: 14px; margin-top: 8px; }
.cda-doc > span { font-weight: 600; font-size: 14.5px; }
.cda-doc-scroll { max-height: 290px; }
.cda-bar { height: 8px; background: #e3ecf6; border-radius: 5px; overflow: hidden; margin-top: 6px; }
.cda-bar i { display: block; height: 100%; background: #1c5cab; border-radius: 5px; }
.cda-note { font-size: 13.5px; margin: 9px 0 0; }

.cda-next-link { text-decoration: none; }
.cda-next-link:hover { color: #fff; text-decoration: none; }

@media (max-width: 1199px) {
    .cda-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cda-3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575px) {
    .cda-tiles { grid-template-columns: minmax(0, 1fr); }
}
