/* GID病院データベース スタイルシート */
.gid-hospital-search {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}
.gid-search-form { font-size: 14px; }
.gid-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-end;
}
.gid-search-col { flex: 1; min-width: 160px; }
.gid-search-col label, .gid-check-row label { display: block; font-weight: 600; margin-bottom: 6px; color: #495057; font-size: 13px; }
.gid-search-col select, .gid-search-col input[type="text"] {
    width: 100%; padding: 8px 12px; border: 1px solid #ced4da;
    border-radius: 4px; font-size: 14px; background: #fff;
}
.gid-check-row { align-items: center; gap: 16px; }
.gid-check-row label { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; cursor: pointer; margin-bottom: 0; }
.gid-search-btn {
    background: #2c7adf; color: #fff; border: none;
    padding: 10px 28px; border-radius: 4px; font-size: 14px;
    cursor: pointer; font-weight: 600; transition: background 0.2s;
    margin-left: auto;
}
.gid-search-btn:hover { background: #1a5fb4; }
.gid-result-count { color: #666; font-size: 14px; margin-bottom: 16px; }
.gid-result-count strong { color: #2c7adf; font-size: 16px; }
.gid-hospital-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gid-hospital-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gid-hospital-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.gid-hospital-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gid-hospital-name { margin: 0; font-size: 16px; font-weight: 700; flex: 1; }
.gid-hospital-name a { color: #212529; text-decoration: none; }
.gid-hospital-name a:hover { color: #2c7adf; }
.gid-pref-badge {
    background: #e8f0fe; color: #1a5fb4;
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.gid-address, .gid-tel { margin: 0; font-size: 13px; color: #666; }
.gid-tel a { color: #2c7adf; text-decoration: none; }
.gid-hospital-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gid-tag {
    padding: 3px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 600;
}
.gid-tag-diag { background: #fff3cd; color: #856404; }
.gid-tag-horm { background: #d1ecf1; color: #0c5460; }
.gid-tag-surg { background: #d4edda; color: #155724; }
.gid-detail-btn {
    display: inline-block; margin-top: auto;
    color: #2c7adf; font-size: 13px; font-weight: 600;
    text-decoration: none;
}
.gid-detail-btn:hover { text-decoration: underline; }
.gid-no-results {
    text-align: center; padding: 48px; color: #666;
    border: 2px dashed #dee2e6; border-radius: 8px;
}
/* 星評価 */
.gid-star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.gid-star-rating input { display: none; }
.gid-star-rating label { font-size: 28px; color: #ddd; cursor: pointer; transition: color 0.2s; }
.gid-star-rating input:checked ~ label,
.gid-star-rating label:hover,
.gid-star-rating label:hover ~ label { color: #f5a623; }
/* レスポンシブ */
@media (max-width: 640px) {
    .gid-hospital-list { grid-template-columns: 1fr; }
    .gid-search-row { flex-direction: column; }
}
