/* Symptom Gallery Styles */
.symptom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0.5rem;
}

.symptom-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border-color: #4CAF50;
}

.symptom-card.selected {
    border-color: #4CAF50;
    background-color: #f0f9f0;
}

.symptom-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.symptom-label {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.symptom-checkbox {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #4CAF50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.symptom-checkbox.checked {
    background-color: #4CAF50;
    color: white;
}

.symptom-checkbox.checked::after {
    content: '✓';
    font-size: 14px;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .symptom-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .symptom-image {
        height: 120px;
    }
}

/* Search and filter */
.symptom-search {
    margin: 1.5rem 0;
    position: relative;
}

.symptom-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.symptom-search input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    outline: none;
}

.symptom-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}
