/* CarePath Counties – Frontend v2 (FontAwesome icons) */
.cp-counties-wrap { font-family: 'Inter', sans-serif; color: #1a1a2e; }

/* SEARCH */
.cp-search-bar { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.cp-search-input-wrap { flex: 1; min-width: 200px; position: relative; }
.cp-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 14px; pointer-events: none; }
.cp-search-bar input {
    width: 100%; padding: 12px 18px 12px 40px;
    border: 1.5px solid #d8e8df; border-radius: 8px;
    font-size: 15px; font-family: inherit; color: #1a1a2e;
    outline: none; transition: border-color .2s; background: #fff;
}
.cp-search-bar input:focus { border-color: #2d6a4f; }
.cp-search-bar select {
    border: 1.5px solid #d8e8df; border-radius: 8px;
    padding: 12px 16px; font-size: 14px; font-family: inherit;
    color: #1a1a2e; outline: none; background: #fff; cursor: pointer; min-width: 180px;
}

/* NO RESULTS */
.cp-no-results { text-align: center; padding: 52px 20px; color: #5a6a72; }
.cp-no-results h3 { font-size: 20px; margin-bottom: 8px; color: #1a1a2e; }
.cp-no-results a  { color: #2d6a4f; }

/* REGION */
.cp-region { margin-bottom: 48px; }
.cp-region-head {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 2px solid #e8f5ee; flex-wrap: wrap;
}
.cp-region-icon {
    width: 46px; height: 46px; background: #2d6a4f;
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.cp-region-icon i { color: #fff; font-size: 20px; }
.cp-region-info h2 {
    font-size: 19px; font-weight: 700; color: #1b4332;
    margin: 0; padding: 0; border: none; line-height: 1.3;
}
.cp-region-count {
    margin-left: auto; font-size: 12px; font-weight: 700;
    color: #52b788; background: #e8f5ee;
    padding: 5px 14px; border-radius: 20px; white-space: nowrap;
    display: flex; align-items: center; gap: 5px;
}

/* COUNTY GRID */
.cp-county-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }

/* COUNTY CARD */
.cp-county-card {
    border: 1.5px solid #d8e8df; border-radius: 10px;
    padding: 16px 18px; background: #fff;
    transition: box-shadow .2s, border-color .2s, background .2s;
}
.cp-county-card:hover { box-shadow: 0 4px 14px rgba(45,106,79,.1); border-color: #52b788; background: #e8f5ee; }
.cp-county-card.cp-highlight { border-color: #2d6a4f; background: #e8f5ee; }

.cp-county-name { font-size: 14px; font-weight: 700; color: #1a1a2e; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.cp-hl-icon { color: #2d6a4f; font-size: 12px; }
.cp-county-card.cp-highlight .cp-county-name { color: #1b4332; }

.cp-county-tag { font-size: 11px; color: #52b788; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.cp-county-tag i { font-size: 10px; }

@media (max-width: 600px) {
    .cp-search-bar { flex-direction: column; }
    .cp-county-grid { grid-template-columns: 1fr 1fr; }
    .cp-region-count { margin-left: 0; }
}
@media (max-width: 380px) { .cp-county-grid { grid-template-columns: 1fr; } }
